Clean up
This commit is contained in:
		| @ -571,13 +571,13 @@ export const ModelingMachineProvider = ({ | ||||
|           return canSweep | ||||
|         }, | ||||
|         'has valid loft selection': ({ context: { selectionRanges } }) => { | ||||
|           console.log('selectionRanges', selectionRanges) | ||||
|           const hasNoSelection = | ||||
|             selectionRanges.graphSelections.length === 0 || | ||||
|             isRangeBetweenCharacters(selectionRanges) || | ||||
|             isSelectionLastLine(selectionRanges, codeManager.code) | ||||
|  | ||||
|           if (hasNoSelection) { | ||||
|             // TODO: can't select more than one face now if not done prior | ||||
|             // they have no selection, we should enable the button | ||||
|             // so they can select the faces through the cmdbar | ||||
|             // BUT only if there's two extrudable geometry | ||||
| @ -585,11 +585,6 @@ export const ModelingMachineProvider = ({ | ||||
|             return doesSceneHaveSweepableSketch(kclManager.ast, count) | ||||
|           } | ||||
|  | ||||
|           console.log( | ||||
|             'isSketchPipe(selectionRanges)', | ||||
|             isSketchPipe(selectionRanges) | ||||
|           ) | ||||
|  | ||||
|           const canLoft = canLoftSelection(selectionRanges) | ||||
|           if (err(canLoft)) return false | ||||
|           return canLoft | ||||
|  | ||||
		Reference in New Issue
	
	Block a user