fixed directly flipping a product type throwing an exception

This commit is contained in:
Robin Quint
2025-08-07 17:13:18 +02:00
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: