aggregate decorator indicator - make it more intuitive

Example - https://imgur.com/a/RoFQKa1
This commit is contained in:
Andrej730
2025-05-06 12:30:22 +05:00
parent e5ad35e2c8
commit 03f619a77c
+2 -1
View File
@@ -50,7 +50,8 @@ class BIM_PT_aggregate(Panel):
row = layout.row()
row.label(text="Aggregate Decorator")
props = tool.Aggregate.get_aggregate_props()
row.prop(props, "aggregate_decorator", icon="HIDE_OFF", text="")
icon = "HIDE_OFF" if props.aggregate_decorator else "HIDE_ON"
row.prop(props, "aggregate_decorator", icon=icon, text="")
if not AggregateData.is_loaded:
AggregateData.load()