Revert "client side sketch updating properly with direct changes to t… (#2286)

Revert "client side sketch updating properly with direct changes to the editor (#2283)"

This reverts commit cf830f9895.
This commit is contained in:
Kurt Hutten
2024-05-02 22:26:29 +10:00
committed by GitHub
parent cf830f9895
commit e7ab645267
3 changed files with 4 additions and 45 deletions

View File

@ -455,10 +455,9 @@ export class SceneEntities {
modifiedAst: Program,
forward: [number, number, number],
up: [number, number, number],
origin: [number, number, number],
updateAst = true
origin: [number, number, number]
) => {
if (updateAst) await kclManager.updateAst(modifiedAst, false)
await kclManager.updateAst(modifiedAst, false)
await this.tearDownSketch({ removeAxis: false })
sceneInfra.resetMouseListeners()
await this.setupSketch({