mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +00:00
use .alert in fatal loading error UI to draw more attention (3320acc)
https://i.imgur.com/5ZukO0b.png we probably will need to use 1 method for both error UIs at some point 😅
This commit is contained in:
@@ -123,6 +123,7 @@ if sys.modules.get("bpy", None):
|
|||||||
info = get_debug_info()
|
info = get_debug_info()
|
||||||
|
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
layout.alert = True
|
||||||
layout.label(text="BlenderBIM could not load.", icon="ERROR")
|
layout.label(text="BlenderBIM could not load.", icon="ERROR")
|
||||||
if info["os"] == "Windows":
|
if info["os"] == "Windows":
|
||||||
layout.operator("wm.console_toggle", text="View the console for full logs.", icon="CONSOLE")
|
layout.operator("wm.console_toggle", text="View the console for full logs.", icon="CONSOLE")
|
||||||
|
|||||||
Reference in New Issue
Block a user