Fix Stream shows the inside of sketch after extrude (#3711)

Fix Stream shows the inside of sketch after extrude 2998
This commit is contained in:
Kurt Hutten
2024-08-29 16:45:46 +10:00
committed by GitHub
parent 81ccb65f15
commit bf650fd129

View File

@ -1118,13 +1118,11 @@ export const modelingMachine = createMachine(
store.videoElement?.pause() store.videoElement?.pause()
const updatedAst = await kclManager.updateAst(modifiedAst, true, { const updatedAst = await kclManager.updateAst(modifiedAst, true, {
focusPath: pathToExtrudeArg, focusPath: pathToExtrudeArg,
// commented out as a part of https://github.com/KittyCAD/modeling-app/issues/3270 zoomToFit: true,
// looking to add back in the future zoomOnRangeAndType: {
// zoomToFit: true, range: selection.codeBasedSelections[0].range,
// zoomOnRangeAndType: { type: 'path',
// range: selection.codeBasedSelections[0].range, },
// type: 'path',
// },
}) })
if (!engineCommandManager.engineConnection?.idleMode) { if (!engineCommandManager.engineConnection?.idleMode) {
store.videoElement?.play().catch((e) => { store.videoElement?.play().catch((e) => {