From a70facdab40ce60f572e3dec6f47583183f5cebb Mon Sep 17 00:00:00 2001 From: Kurt Hutten Date: Fri, 25 Oct 2024 01:18:41 +1100 Subject: [PATCH] Disable rotate on start new sketch (#4287) disable rotate on start new sketch Co-authored-by: Frank Noirot --- src/components/ModelingMachineProvider.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ModelingMachineProvider.tsx b/src/components/ModelingMachineProvider.tsx index 3ba26f6e3..1dc4e5118 100644 --- a/src/components/ModelingMachineProvider.tsx +++ b/src/components/ModelingMachineProvider.tsx @@ -644,6 +644,7 @@ export const ModelingMachineProvider = ({ input.plane ) await kclManager.updateAst(modifiedAst, false) + sceneInfra.camControls.enableRotate = false sceneInfra.camControls.syncDirection = 'clientToEngine' await letEngineAnimateAndSyncCamAfter(