[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2293] contrib/py/scripts/addons/ render_copy_settings: Render Copy Settings v0.1.3: Fixed a bug that disabled the whole addon?\226?\128? \153s UI when using a filter regex matching no scene?\226?\128?\166

Bastien Montagne montagne29 at wanadoo.fr
Fri Sep 2 13:51:59 CEST 2011


Revision: 2293
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2293
Author:   mont29
Date:     2011-09-02 11:51:58 +0000 (Fri, 02 Sep 2011)
Log Message:
-----------
Render Copy Settings v0.1.3: Fixed a bug that disabled the whole addon?\226?\128?\153s UI when using a filter regex matching no scene?\226?\128?\166

Modified Paths:
--------------
    contrib/py/scripts/addons/render_copy_settings/__init__.py
    contrib/py/scripts/addons/render_copy_settings/panel.py

Modified: contrib/py/scripts/addons/render_copy_settings/__init__.py
===================================================================
--- contrib/py/scripts/addons/render_copy_settings/__init__.py	2011-09-01 22:42:52 UTC (rev 2292)
+++ contrib/py/scripts/addons/render_copy_settings/__init__.py	2011-09-02 11:51:58 UTC (rev 2293)
@@ -51,17 +51,23 @@
 #      WARNING: this addon now needs a Blender patched with the ui_template_list diff, else it won’t
 #               be fully functional (even though working)…
 #
+#  0.1.3
+#      Minor changes:
+#        * Fixed a small bug that was disabling the whole UI when entering a filtering regex
+#          matching no scene.
+#      WARNING: this addon now needs a Blender patched with the ui_template_list diff, else it won’t
+#               be fully functional (even though working)…
+#
 # ##### END OF CHANGELOG #####
 
 bl_info = {
     "name": "Copy Settings",
     "author": "Bastien Montagne",
-    "version": (0, 1, 2),
-    "blender": (2, 5, 8),
+    "version": (0, 1, 3),
+    "blender": (2, 5, 9),
     "api": 36380,
     "location": "Render buttons (Properties window)",
     "description": "Allows to copy a selection of render settings from current scene to others.",
-    "warning": "beta",
     "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\
                 "Scripts/Render/Copy Settings",
     "tracker_url": "http://projects.blender.org/tracker/index.php?func=detail&aid=25832",

Modified: contrib/py/scripts/addons/render_copy_settings/panel.py
===================================================================
--- contrib/py/scripts/addons/render_copy_settings/panel.py	2011-09-01 22:42:52 UTC (rev 2292)
+++ contrib/py/scripts/addons/render_copy_settings/panel.py	2011-09-02 11:51:58 UTC (rev 2293)
@@ -83,9 +83,9 @@
             label = "Set Stamp"
         col.operator("scene.render_copy_settings_preset", text=label).presets = {"stamp"}
 
+        layout.prop(cp_sett, "filter_scene")
         if len(cp_sett.allowed_scenes):
             layout.label("Affected Scenes:")
-            layout.prop(cp_sett, "filter_scene")
             # XXX Unfortunately, there can only be one template_list per panel…
 #            layout.template_list(cp_sett, "allowed_scenes", cp_sett, "allw_scenes_idx", rows=5)
             col = layout.column_flow(columns=0)
@@ -93,4 +93,3 @@
                 col.prop(prop, "allowed", toggle=True, text=prop.name)
         else:
             layout.label(text="No Affectable Scenes!", icon="ERROR")
-            layout.enabled = False



More information about the Bf-extensions-cvs mailing list