mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +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":
|
if not (element := ifc.get_entity(obj)) or model.get_usage_type(element) != "LAYER2":
|
||||||
continue
|
continue
|
||||||
geometry.clear_scale(obj)
|
geometry.clear_scale(obj)
|
||||||
|
if ifc.is_moved(obj):
|
||||||
|
geometry.run_edit_object_placement(obj=obj)
|
||||||
joiner.unjoin(obj)
|
joiner.unjoin(obj)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user