mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
See #1227. Fix bug where unjoin walls didn't recheck the position.
This commit is contained in:
@@ -25,6 +25,8 @@ def unjoin_walls(ifc: tool.Ifc, blender: tool.Blender, geometry: tool.Geometry,
|
||||
if not (element := ifc.get_entity(obj)) or model.get_usage_type(element) != "LAYER2":
|
||||
continue
|
||||
geometry.clear_scale(obj)
|
||||
if ifc.is_moved(obj):
|
||||
geometry.run_edit_object_placement(obj=obj)
|
||||
joiner.unjoin(obj)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user