Fix for Tile image node. This was still using the path string for multilayer output...
authorLukas Toenne <lukas.toenne@googlemail.com>
Fri, 18 May 2012 10:00:31 +0000 (10:00 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Fri, 18 May 2012 10:00:31 +0000 (10:00 +0000)
source/blender/compositor/nodes/COM_OutputFileNode.cpp

index e70e4f296d6b42ff5ea0f9bae7b48485ec865b99..cc060e9f7cde41a3bf0a6a2fd5372b848791d531 100644 (file)
@@ -54,7 +54,7 @@ void OutputFileNode::convertToOperations(ExecutionSystem *graph, CompositorConte
                                hasConnections = true;
                                NodeImageMultiFileSocket *sockdata = (NodeImageMultiFileSocket *)input->getbNodeSocket()->storage;
                                
-                               outputOperation->add_layer(sockdata->path, input->getDataType());
+                               outputOperation->add_layer(sockdata->layer, input->getDataType());
                                
                                input->relinkConnections(outputOperation->getInputSocket(i));
                        }