Add Selected Scenes CheckBox.
[blender-addons-contrib.git] / oscurart_tools / __init__.py
index fb82c3bb1aa2667882aee715c56655070e135e88..62cf1d979a2bfac06da2a61b362692354c255a4d 100644 (file)
@@ -220,7 +220,11 @@ class OscPanelRender(OscPollRender, bpy.types.Panel):
         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"
@@ -274,4 +278,4 @@ def unregister():
 
 
 if __name__ == "__main__":
-    register()
\ No newline at end of file
+    register()