diff options
Diffstat (limited to 'release/scripts/save_theme.py')
-rw-r--r-- | release/scripts/save_theme.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/release/scripts/save_theme.py b/release/scripts/save_theme.py index 4b8f06c348f..4713c63a9ff 100644 --- a/release/scripts/save_theme.py +++ b/release/scripts/save_theme.py @@ -2,14 +2,14 @@ """ Name: 'Save Current Theme' -Blender: 234 +Blender: 236 Group: 'Export' Tooltip: 'Save current theme as a bpython script' """ __author__ = "Willian P. Germano" __url__ = ("blender", "elysiun") -__version__ = "1.0 11/05/04" +__version__ = "1.1 2005/13/01" __bpydoc__ = """\ This script saves the current Theme in Blender as a Blender Python script. @@ -114,3 +114,8 @@ theme = Theme.New('%s') fout.close() FileSelector(write_theme, "Save Current Theme", default_fname) + +try: + Blender.UpdateMenus() +except: + Blender.Draw.PupMenu("Warning - check console!%t|Menus could not be automatically updated") |