mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Whoops. See #1056.
This commit is contained in:
@@ -3734,7 +3734,7 @@ class ActivateDrawingStyle(bpy.types.Operator):
|
||||
bl_label = 'Activate Drawing Style'
|
||||
|
||||
def execute(self, context):
|
||||
if context.scene.camera.data.BIMCameraProperties.active_drawing_style_index >= len(bpy.context.scene.DocProperties.drawing_styles):
|
||||
if context.scene.camera.data.BIMCameraProperties.active_drawing_style_index < len(bpy.context.scene.DocProperties.drawing_styles):
|
||||
self.drawing_style = bpy.context.scene.DocProperties.drawing_styles[context.scene.camera.data.BIMCameraProperties.active_drawing_style_index]
|
||||
self.set_raster_style()
|
||||
self.set_query()
|
||||
|
||||
Reference in New Issue
Block a user