mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
#2136 Minor fix
This commit is contained in:
@@ -75,7 +75,7 @@ def update_diagram_scale(self, context):
|
|||||||
if "|" not in scale:
|
if "|" not in scale:
|
||||||
return
|
return
|
||||||
human_scale, scale = scale.split("|")
|
human_scale, scale = scale.split("|")
|
||||||
element = tool.Ifc.get_entity(context.scene.active_object)
|
element = tool.Ifc.get_entity(context.active_object)
|
||||||
if not element:
|
if not element:
|
||||||
return
|
return
|
||||||
pset = ifcopenshell.util.element.get_psets(element).get("EPset_Drawing")
|
pset = ifcopenshell.util.element.get_psets(element).get("EPset_Drawing")
|
||||||
|
|||||||
Reference in New Issue
Block a user