mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
fix #5290: to fix error after shift and click bim.activate_drawing
This commit is contained in:
@@ -1806,7 +1806,7 @@ class ActivateDrawing(bpy.types.Operator):
|
||||
dprops = bpy.context.scene.DocProperties
|
||||
|
||||
if self.switch_camera_only:
|
||||
camera = tool.Drawing.import_drawing(drawing)
|
||||
camera = tool.Ifc.get_object(drawing)
|
||||
tool.Blender.activate_camera(camera)
|
||||
else:
|
||||
if not self.camera_view_point:
|
||||
|
||||
Reference in New Issue
Block a user