From be569c91de04f38eaae15d1eb0c07023d40838c0 Mon Sep 17 00:00:00 2001 From: Pierre Jacquier Date: Fri, 29 Nov 2024 19:51:56 -0500 Subject: [PATCH] Clean up --- src/components/ModelingMachineProvider.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/ModelingMachineProvider.tsx b/src/components/ModelingMachineProvider.tsx index cfac8bb44..34a638c5d 100644 --- a/src/components/ModelingMachineProvider.tsx +++ b/src/components/ModelingMachineProvider.tsx @@ -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