[Durian-svn] [906] respect camera-restrict render when camera switching.
campbell
durian-svn at blender.org
Wed Feb 10 18:58:17 CET 2010
Revision: 906
https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=906
Author: campbell
Date: 2010-02-10 18:58:17 +0100 (Wed, 10 Feb 2010)
Log Message:
-----------
respect camera-restrict render when camera switching.
Modified Paths:
--------------
pro/scripts/ui/marker_render.py
Modified: pro/scripts/ui/marker_render.py
===================================================================
--- pro/scripts/ui/marker_render.py 2010-02-10 16:14:14 UTC (rev 905)
+++ pro/scripts/ui/marker_render.py 2010-02-10 17:58:17 UTC (rev 906)
@@ -13,7 +13,7 @@
if output_path[-1] in ("\\", "/"):
output_path += bpy.data.filename.split("\\")[-1].split("/")[-1].replace(".blend", "")
- switch = [(m.frame, m, m.camera) for m in scene.timeline_markers if m.camera]
+ switch = [(m.frame, m, m.camera) for m in scene.timeline_markers if m.camera and m.camera.restrict_render == False]
switch.sort()
More information about the Durian-svn
mailing list