[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2080] contrib/py/scripts/addons/ render_copy_settings: Render Copy Settings addon: Small update to follow changes in template_list enhancement patch?\226? \128?\166

Bastien Montagne montagne29 at wanadoo.fr
Fri Jul 1 17:16:34 CEST 2011


Revision: 2080
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2080
Author:   mont29
Date:     2011-07-01 15:16:33 +0000 (Fri, 01 Jul 2011)
Log Message:
-----------
Render Copy Settings addon: Small update to follow changes in template_list enhancement patch?\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-07-01 01:02:43 UTC (rev 2079)
+++ contrib/py/scripts/addons/render_copy_settings/__init__.py	2011-07-01 15:16:33 UTC (rev 2080)
@@ -45,13 +45,19 @@
 #      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.2
+#      Minor changes:
+#        * Updated accordingly to the changes in enhanced ui_template_list proposal.
+#      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, 1),
-    "blender": (2, 5, 7),
+    "version": (0, 1, 2),
+    "blender": (2, 5, 8),
     "api": 36380,
     "location": "Render buttons (Properties window)",
     "description": "Allows to copy a selection of render settings from current scene to others.",

Modified: contrib/py/scripts/addons/render_copy_settings/panel.py
===================================================================
--- contrib/py/scripts/addons/render_copy_settings/panel.py	2011-07-01 01:02:43 UTC (rev 2079)
+++ contrib/py/scripts/addons/render_copy_settings/panel.py	2011-07-01 15:16:33 UTC (rev 2080)
@@ -41,7 +41,8 @@
             bpy.ops.scene.render_copy_settings_prepare()
 
         split = layout.split(0.75)
-        split.template_list(cp_sett, "affected_settings", cp_sett, "aff_sett_idx", rows=6)
+        split.template_list(cp_sett, "affected_settings", cp_sett, "aff_sett_idx",
+                            enum_ctrls_name="template_list_controls", rows=6)
         col = split.column()
         label = ""
         if (cp_sett.affected_settings["resolution_x"].copy and



More information about the Bf-extensions-cvs mailing list