IFC Mesh Separate - fix bug in 52af302bef separating multiple elements

Forgot to clear selection after processing each object, it could have led to incorrect results since mesh.separate is applied to the selection later.
This commit is contained in:
Andrej730
2025-04-25 18:05:15 +05:00
parent a09e971674
commit c9437329ef
@@ -119,6 +119,7 @@ class OverrideMeshSeparate(bpy.types.Operator, tool.Ifc.Operator):
self.separate_element(context, element, obj)
else:
non_ifc_objects.append(obj)
bpy.ops.object.select_all(action="DESELECT")
if should_reload_representation:
rep_obj = tool.Geometry.get_geometry_props().representation_obj