bsdd ui - preload properties when loading classes

It was confusing that you still needed to click on the first property, even though it was selected by defalt.
This commit is contained in:
Andrej730
2025-08-04 20:52:31 +05:00
parent 3b8b4c1566
commit f25ad2a9cb
+2
View File
@@ -28,6 +28,8 @@ if TYPE_CHECKING:
def import_bsdd_classes(bsdd: type[tool.Bsdd], obj: str, obj_type: tool.Ifc.OBJECT_TYPE) -> None:
bsdd.import_classes(obj, obj_type)
# Preload properties UIList for newly loaded bsdd class.
bsdd.import_class_properties()
def search_bsdd_properties(bsdd: type[tool.Bsdd], keyword: str, obj: str, obj_type: tool.Ifc.OBJECT_TYPE) -> None: