[Durian-svn] [914] only write movies for selected cameras.

campbell durian-svn at blender.org
Thu Feb 11 13:54:43 CET 2010


Revision: 914
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=914
Author:   campbell
Date:     2010-02-11 13:54:43 +0100 (Thu, 11 Feb 2010)
Log Message:
-----------
only write movies for selected cameras.

Modified Paths:
--------------
    pro/scripts/ui/marker_render.py

Modified: pro/scripts/ui/marker_render.py
===================================================================
--- pro/scripts/ui/marker_render.py	2010-02-11 10:31:39 UTC (rev 913)
+++ pro/scripts/ui/marker_render.py	2010-02-11 12:54:43 UTC (rev 914)
@@ -19,6 +19,10 @@
     
     msg = ['Dont worry colin, not actually a warning... phew']
     for i, (frame, marker, camera) in enumerate(switch):
+
+        if not m.selected:
+            continue
+
         scene.start_frame = max(frame, start_frame)
         if i + 1 != len(switch):
             scene.end_frame = min(switch[i + 1][0], end_frame)



More information about the Durian-svn mailing list