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:
@ -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) => {
|
||||||
|
Reference in New Issue
Block a user