This commit is contained in:
Kurt Hutten IrevDev
2022-11-28 19:44:08 +11:00
parent b671db1e81
commit 80f513401c
6 changed files with 30 additions and 12 deletions

View File

@ -43,7 +43,13 @@ export const executor = (
bodyType: 'sketch',
})
if (_sketch.length === 0) {
const {programMemory: newProgramMemory} = sketchFns.base(fnMemory, '', [0, 0], 0, 0)
const { programMemory: newProgramMemory } = sketchFns.base(
fnMemory,
'',
[0, 0],
0,
0
)
_sketch = newProgramMemory._sketch
}
_programMemory.root[variableName] = _sketch