mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user