remove double zoom to fit (#3710)

remove double zoom to fit 3217
This commit is contained in:
Kurt Hutten
2024-08-29 16:28:57 +10:00
committed by GitHub
parent 335b5100ae
commit 81ccb65f15

View File

@ -274,15 +274,6 @@ export class KclManager {
padding: 0.1, // padding around the objects padding: 0.1, // padding around the objects
}, },
}) })
await this.engineCommandManager.sendSceneCommand({
type: 'modeling_cmd_req',
cmd_id: uuidv4(),
cmd: {
type: 'zoom_to_fit',
object_ids: zoomObjectId ? [zoomObjectId] : [], // leave empty to zoom to all objects
padding: 0.1, // padding around the objects
},
})
} }
this.isExecuting = false this.isExecuting = false