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:
Andrej730
2024-05-20 12:47:09 +05:00
parent e7f4c6c9cc
commit 4e462a3cf7
+1
View File
@@ -123,6 +123,7 @@ if sys.modules.get("bpy", None):
info = get_debug_info()
layout = self.layout
layout.alert = True
layout.label(text="BlenderBIM could not load.", icon="ERROR")
if info["os"] == "Windows":
layout.operator("wm.console_toggle", text="View the console for full logs.", icon="CONSOLE")