Revision: 48045
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48045
Author:   lukastoenne
Date:     2012-06-18 16:23:16 +0000 (Mon, 18 Jun 2012)
Log Message:
-----------
Fix #31740, compositor overwrites images on frame scrubbing. Restored old 
compositor behavior which only saves images when doing an actual rendering 
(this was not implemented in Tile yet).

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/nodes/COM_OutputFileNode.cpp

Modified: trunk/blender/source/blender/compositor/nodes/COM_OutputFileNode.cpp
===================================================================
--- trunk/blender/source/blender/compositor/nodes/COM_OutputFileNode.cpp        
2012-06-18 16:07:07 UTC (rev 48044)
+++ trunk/blender/source/blender/compositor/nodes/COM_OutputFileNode.cpp        
2012-06-18 16:23:16 UTC (rev 48045)
@@ -37,9 +37,11 @@
        NodeImageMultiFile *storage = (NodeImageMultiFile 
*)this->getbNode()->storage;
        
        if (!context->isRendering()) {
-               /* XXX TODO as in previous implementation?
-                * add dummy operations and exit, to prevent file writing on 
each compo update.
+               /* only output files when rendering a sequence -
+                * otherwise, it overwrites the output files just
+                * scrubbing through the timeline when the compositor updates.
                 */
+               return;
        }
        
        if (storage->format.imtype == R_IMF_IMTYPE_MULTILAYER) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to