@ -1831,11 +1831,9 @@ export class SceneEntities {
|
|||||||
if (err(moddedResult)) return
|
if (err(moddedResult)) return
|
||||||
modded = moddedResult.modifiedAst
|
modded = moddedResult.modifiedAst
|
||||||
}
|
}
|
||||||
const { execState } = await executeAst({
|
const { execState } = await executeAstMock({
|
||||||
ast: modded,
|
ast: modded,
|
||||||
engineCommandManager: this.engineCommandManager,
|
|
||||||
rustContext,
|
rustContext,
|
||||||
isMock: true,
|
|
||||||
})
|
})
|
||||||
const sketch = sketchFromKclValue(
|
const sketch = sketchFromKclValue(
|
||||||
execState.variables[variableDeclarationName],
|
execState.variables[variableDeclarationName],
|
||||||
@ -2061,11 +2059,9 @@ export class SceneEntities {
|
|||||||
if (err(moddedResult)) return
|
if (err(moddedResult)) return
|
||||||
modded = moddedResult.modifiedAst
|
modded = moddedResult.modifiedAst
|
||||||
}
|
}
|
||||||
const { execState } = await executeAst({
|
const { execState } = await executeAstMock({
|
||||||
ast: modded,
|
ast: modded,
|
||||||
engineCommandManager: this.engineCommandManager,
|
|
||||||
rustContext,
|
rustContext,
|
||||||
isMock: true,
|
|
||||||
})
|
})
|
||||||
const sketch = sketchFromKclValue(
|
const sketch = sketchFromKclValue(
|
||||||
execState.variables[variableDeclarationName],
|
execState.variables[variableDeclarationName],
|
||||||
|
Reference in New Issue
Block a user