[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3847] contrib/py/scripts/addons/ oscurart_tools.py: Add Checkbox For selected Scenes
Eugenio Pignataro
info at oscurart.com.ar
Fri Oct 12 17:08:53 CEST 2012
Revision: 3847
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3847
Author: oscurart
Date: 2012-10-12 15:08:53 +0000 (Fri, 12 Oct 2012)
Log Message:
-----------
Add Checkbox For selected Scenes
Modified Paths:
--------------
contrib/py/scripts/addons/oscurart_tools.py
Modified: contrib/py/scripts/addons/oscurart_tools.py
===================================================================
--- contrib/py/scripts/addons/oscurart_tools.py 2012-10-12 14:25:15 UTC (rev 3846)
+++ contrib/py/scripts/addons/oscurart_tools.py 2012-10-12 15:08:53 UTC (rev 3847)
@@ -204,14 +204,18 @@
colrow = col.row()
colrow.operator("render.render_current_scene_osc", icon="RENDER_STILL", text="Active Scene")
colrow.operator("render.render_current_scene_osc_cf", icon="RENDER_STILL", text="> Frame")
- colrow = col.row(align=1)
- colrow.prop(bpy.context.scene, "OscSelScenes", text="")
- colrow.operator("render.render_selected_scenes_osc", icon="RENDER_STILL", text="Selected Scenes")
- colrow.operator("render.render_selected_scenes_osc_cf", icon="RENDER_STILL", text="> Fame")
+
colrow = col.row(align=1)
colrow.prop(bpy.context.scene, "rcPARTS", text="Render Crop Parts")
colrow.operator("render.render_crop_osc", icon="RENDER_REGION")
+
+ col = layout.column(align=1)
+ 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")
+ colrow.operator("render.render_selected_scenes_osc_cf", icon="RENDER_STILL", text="> Fame")
+
class OscPanelFiles(OscPollFiles, bpy.types.Panel):
@@ -780,7 +784,7 @@
##--------------------------------RENDER SELECTED SCENES----------------------------
-bpy.types.Scene.OscSelScenes = bpy.props.StringProperty(default="[]")
+bpy.types.Scene.use_render_scene = bpy.props.BoolProperty()
def defRenderSelected(FRAMETYPE):
@@ -808,7 +812,7 @@
for SCENE in SCENES:
- if SCENE.name in SCENELIST:
+ if SCENE.use_render_scene:
PROPTOLIST = list(eval(SCENE['OVERRIDE']))
CURSC = SCENE.name
PATH = SCENE.render.filepath
More information about the Bf-extensions-cvs
mailing list