[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4512] contrib/py/scripts/addons/ oscurart_tools/__init__.py: Add Selected Scenes CheckBox.

Eugenio Pignataro info at oscurart.com.ar
Tue May 7 19:40:15 CEST 2013


Revision: 4512
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4512
Author:   oscurart
Date:     2013-05-07 17:40:14 +0000 (Tue, 07 May 2013)
Log Message:
-----------
Add Selected Scenes CheckBox.

Modified Paths:
--------------
    contrib/py/scripts/addons/oscurart_tools/__init__.py

Modified: contrib/py/scripts/addons/oscurart_tools/__init__.py
===================================================================
--- contrib/py/scripts/addons/oscurart_tools/__init__.py	2013-05-07 15:57:22 UTC (rev 4511)
+++ contrib/py/scripts/addons/oscurart_tools/__init__.py	2013-05-07 17:40:14 UTC (rev 4512)
@@ -220,8 +220,12 @@
         colrow = col.row(align=1)
         colrow.prop(bpy.context.scene, "use_render_scene", text="")  
         colrow.operator("render.render_selected_scenes_osc", icon="RENDER_STILL", text="Selected Scenes").frametype=False
-        colrow.operator("render.render_selected_scenes_osc", icon="RENDER_STILL", text="> Fame").frametype=True   
+        colrow.operator("render.render_selected_scenes_osc", icon="RENDER_STILL", text="> Fame").frametype=True
 
+        for sc in bpy.data.scenes[:]:
+            col = layout.column(align=1)
+            col.prop(sc, "use_render_scene", text=sc.name)    
+
 class OscPanelFiles(OscPollFiles, bpy.types.Panel):
     bl_idname = "Oscurart Files Tools"
     bl_label = "Files Tools"
@@ -274,4 +278,4 @@
 
 
 if __name__ == "__main__":
-    register()
\ No newline at end of file
+    register()



More information about the Bf-extensions-cvs mailing list