limit active_material_index handler callback

This commit is contained in:
Andrej730
2024-10-23 16:20:22 +05:00
parent 106b6f74e1
commit 932a718d2d
+5 -1
View File
@@ -147,7 +147,11 @@ def update_bim_tool_props():
def active_material_index_callback(obj, data):
refresh_ui_data()
from bonsai.bim.module.style.data import BlenderMaterialStyleData
# Simple UI for showing whether blender material is linked to IFC style,
# no need to update the entire UI.
BlenderMaterialStyleData.is_loaded = False
def subscribe_to(obj: bpy.types.ID, data_path: str, callback: Callable[[bpy.types.ID, str], None]):