diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-12 04:10:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-12 04:10:56 +0400 |
commit | fa51f02be3254db81bcf004d9e50e5ce86da16c6 (patch) | |
tree | d40d16ce6443b5ffbe5fb75f5ee3712c4b72e05b /release | |
parent | 37f92119e449a56116bc7a78aaafeaa67ee4c493 (diff) |
minor changes to the script auto-execution based on Brecht's suggestions.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_info.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py index 7487aaf420d..5d476c01b08 100644 --- a/release/scripts/startup/bl_ui/space_info.py +++ b/release/scripts/startup/bl_ui/space_info.py @@ -67,14 +67,13 @@ class INFO_HT_header(Header): if bpy.app.autoexec_fail is True and bpy.app.autoexec_fail_quiet is False: layout.operator_context = 'EXEC_DEFAULT' - row.label("Script failed to auto-run", icon='ERROR') + row.label("Auto-run disabled: %s" % bpy.app.autoexec_fail_message, icon='ERROR') if bpy.data.is_saved: props = row.operator("wm.open_mainfile", icon='SCREEN_BACK', text="Reload Trusted") props.filepath = bpy.data.filepath props.use_scripts = True - row.operator("script.autoexec_warn_clear", icon='CANCEL') - row.label("Skipping: (%s)" % bpy.app.autoexec_fail_message) + row.operator("script.autoexec_warn_clear", text="Ignore") return row.operator("wm.splash", text="", icon='BLENDER', emboss=False) |