This commit is contained in:
Andrej730
2025-04-17 18:55:36 +05:00
parent 030dc6460a
commit 95f754d2df
2 changed files with 4 additions and 2 deletions
@@ -2099,7 +2099,9 @@ class OverrideModeSetEdit(bpy.types.Operator, tool.Ifc.Operator):
props = tool.Aggregate.get_aggregate_props() props = tool.Aggregate.get_aggregate_props()
if (aggregate or parts) and not props.in_aggregate_mode: if (aggregate or parts) and not props.in_aggregate_mode:
return True return True
elif element != tool.Ifc.get_entity(props.editing_aggregate) and aggregate != tool.Ifc.get_entity(props.editing_aggregate): elif element != tool.Ifc.get_entity(props.editing_aggregate) and aggregate != tool.Ifc.get_entity(
props.editing_aggregate
):
return True return True
elif parts and aggregate == tool.Ifc.get_entity(props.editing_aggregate): elif parts and aggregate == tool.Ifc.get_entity(props.editing_aggregate):
return True return True