[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1946] contrib/py/scripts/addons/ system_theme_manager.py: Updated for api change in 36710 and fix for memory crash.
Bart Crouch
bartius.crouch at gmail.com
Tue May 17 11:40:36 CEST 2011
Revision: 1946
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1946
Author: crouch
Date: 2011-05-17 09:40:35 +0000 (Tue, 17 May 2011)
Log Message:
-----------
Updated for api change in 36710 and fix for memory crash.
Modified Paths:
--------------
contrib/py/scripts/addons/system_theme_manager.py
Modified: contrib/py/scripts/addons/system_theme_manager.py
===================================================================
--- contrib/py/scripts/addons/system_theme_manager.py 2011-05-17 08:51:28 UTC (rev 1945)
+++ contrib/py/scripts/addons/system_theme_manager.py 2011-05-17 09:40:35 UTC (rev 1946)
@@ -22,9 +22,9 @@
bl_info = {
'name': "Theme manager",
'author': "Bart Crouch",
- 'version': (1, 3, 1),
+ 'version': (1, 3, 2),
'blender': (2, 5, 7),
- 'api': 36489,
+ 'api': 36710,
'location': "User Preferences > Themes > Header",
'warning': "",
'description': "Load or save a custom theme",
@@ -38,7 +38,7 @@
import blf
import bpy
import gzip
-from io_utils import ExportHelper, ImportHelper
+from bpy_extras.io_utils import ExportHelper, ImportHelper
import os
import pickle
import shutil
@@ -276,7 +276,9 @@
# happens when new blend-file is loaded and wm is destroyed
load_presets()
width = context.window_manager["theme_width"]
- return context.window_manager.invoke_popup(self, width=width)
+ context.window_manager.invoke_popup(self, width=width)
+
+ return{'FINISHED'}
# save operator
More information about the Bf-extensions-cvs
mailing list