mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
fixed directly flipping a product type throwing an exception
This commit is contained in:
committed by
Ryan Schultz
parent
8c50cfc906
commit
f20f65a312
@@ -705,7 +705,7 @@ class TrueMirrorElements(bpy.types.Operator, tool.Ifc.Operator):
|
||||
|
||||
active_context = tool.Geometry.get_active_representation_context(obj)
|
||||
|
||||
if type_element:
|
||||
if type_element and element.id() != type_element.id():
|
||||
# obj has a type, use / create inverted type and assign it
|
||||
self.assign_inverted_type(element)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user