mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Fix #2813. Bug where the user could try to load thumbnails even though there were no types.
This commit is contained in:
@@ -379,6 +379,7 @@ class BimToolUI:
|
|||||||
def draw_basic_bim_tool_interface(cls):
|
def draw_basic_bim_tool_interface(cls):
|
||||||
cls.draw_type_selection_interface()
|
cls.draw_type_selection_interface()
|
||||||
|
|
||||||
|
if cls.props.ifc_class:
|
||||||
box = cls.layout.box()
|
box = cls.layout.box()
|
||||||
if AuthoringData.data["type_thumbnail"]:
|
if AuthoringData.data["type_thumbnail"]:
|
||||||
box.template_icon(icon_value=AuthoringData.data["type_thumbnail"], scale=5)
|
box.template_icon(icon_value=AuthoringData.data["type_thumbnail"], scale=5)
|
||||||
|
|||||||
Reference in New Issue
Block a user