From c2bcde5c285ec731c3f869324455d85c39ff3c75 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 1 Nov 2018 18:32:37 +0100 Subject: UI: show blocking popup when auto execution of scripts is disabled. This is important information, and it was easily missed at the top/bottom of the screen. Ref T57197. --- release/scripts/startup/bl_ui/space_statusbar.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'release/scripts/startup/bl_ui/space_statusbar.py') diff --git a/release/scripts/startup/bl_ui/space_statusbar.py b/release/scripts/startup/bl_ui/space_statusbar.py index 2cc5bd94bd7..87085e4ceea 100644 --- a/release/scripts/startup/bl_ui/space_statusbar.py +++ b/release/scripts/startup/bl_ui/space_statusbar.py @@ -34,19 +34,6 @@ class STATUSBAR_HT_header(Header): # messages layout.template_reports_banner() - - row = layout.row(align=True) - if bpy.app.autoexec_fail is True and bpy.app.autoexec_fail_quiet is False: - row.label(text="Auto-run disabled", icon='ERROR') - if bpy.data.is_saved: - props = row.operator("wm.revert_mainfile", icon='SCREEN_BACK', text="Reload Trusted") - props.use_scripts = True - - row.operator("script.autoexec_warn_clear", text="Ignore") - - # include last so text doesn't push buttons out of the header - row.label(text=bpy.app.autoexec_fail_message) - layout.template_running_jobs() layout.separator_spacer() -- cgit v1.2.3