mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Allows the ability to activate an attached drawing_style regardless of whether a drawing has a underlay, or not.
This commit is contained in:
@@ -2322,7 +2322,6 @@ class ActivateDrawingBase(tool.Ifc.Operator):
|
|||||||
|
|
||||||
dprops.active_drawing_id = self.drawing
|
dprops.active_drawing_id = self.drawing
|
||||||
dprops.drawing_styles.clear()
|
dprops.drawing_styles.clear()
|
||||||
if ifcopenshell.util.element.get_pset(drawing, "EPset_Drawing", "HasUnderlay"):
|
|
||||||
bpy.ops.bim.reload_drawing_styles()
|
bpy.ops.bim.reload_drawing_styles()
|
||||||
bpy.ops.bim.activate_drawing_style()
|
bpy.ops.bim.activate_drawing_style()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user