show default planes bug (#3047)

This commit is contained in:
Kurt Hutten
2024-07-17 18:58:01 +10:00
committed by GitHub
parent 1cd2cd82b2
commit 79cff57f43
3 changed files with 5 additions and 2 deletions

View File

@ -131,6 +131,9 @@ export const ModelingMachineProvider = ({
},
'sketch exit execute': ({ store }) => {
;(async () => {
// blocks entering a sketch until after exit sketch code has run
kclManager.isExecuting = true
await sceneInfra.camControls.snapToPerspectiveBeforeHandingBackControlToEngine()
sceneInfra.camControls.syncDirection = 'engineToClient'