UI: always show text on the splash when running in offline mode
see #119521
This commit is contained in:
@@ -470,7 +470,8 @@ def splash_draw_status_fn(self, context):
|
||||
if not bpy.app.online_access:
|
||||
if bpy.app.online_access_override:
|
||||
# Since there is nothing to do in this case, we show no operator.
|
||||
self.layout.label(text="Running in Offline Mode", icon='INTERNET')
|
||||
# The splash screen shows text here.
|
||||
pass
|
||||
else:
|
||||
text, icon, update_count = notify.ui_text()
|
||||
row = self.layout.row(align=True)
|
||||
|
||||
@@ -3350,6 +3350,10 @@ class WM_MT_splash(Menu):
|
||||
col2.operator("wm.url_open_preset", text="What's New", icon='URL').type = 'RELEASE_NOTES'
|
||||
|
||||
layout.separator()
|
||||
|
||||
if (not bpy.app.online_access) and bpy.app.online_access_override:
|
||||
self.layout.label(text="Running in Offline Mode", icon='INTERNET')
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user