test equipping tools mid tool use removes have baked expression (#5403)

test equiping tools mid tool use removes have baked expression
This commit is contained in:
Kurt Hutten
2025-02-19 07:45:44 +11:00
committed by GitHub
parent 71f701dec7
commit f5c9f84ae9
3 changed files with 97 additions and 11 deletions

View File

@ -1574,7 +1574,7 @@ export const ModelingMachineProvider = ({
: updatedSketchNodePaths[0]
}
if (doesNeedSplitting) {
if (doesNeedSplitting || indexToDelete >= 0) {
await kclManager.executeAstMock(moddedAst)
await codeManager.updateEditorWithAstAndWriteToFile(moddedAst)
}