add bme material preset

This commit is contained in:
2023-12-14 18:03:03 +08:00
parent f6569313bf
commit 2f123e6a3c
76 changed files with 609 additions and 4181 deletions

View File

@ -234,8 +234,8 @@ def _get_group_icon_by_name(gp_name: str) -> int:
value: int | None = UTIL_icons_manager.get_group_icon(gp_name)
if value is not None: return value
# if failed, get from element. if still failed, return empty icon
value = UTIL_icons_manager.get_element_icon(gp_name)
# if failed, get from component. if still failed, return empty icon
value = UTIL_icons_manager.get_component_icon(gp_name)
if value is not None: return value
else: return UTIL_icons_manager.get_empty_icon()