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