fix #5290: to fix error after shift and click bim.activate_drawing

This commit is contained in:
Ryan Schultz
2024-09-07 13:01:09 -05:00
parent 795d2c371e
commit 5363c33888
@@ -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: