Color Management, Stage 2: Switch color pipeline to use OpenColorIO
[blender.git] / source / blender / compositor / nodes / COM_DespeckleNode.cpp
index 603ddcd1389515baf9d10550901b4cc85da91416..a97714c870e4e2d9cf55a63609febcb8a48460de 100644 (file)
@@ -44,7 +44,7 @@ void DespeckleNode::convertToOperations(ExecutionSystem *graph, CompositorContex
        inputImageSocket->relinkConnections(operation->getInputSocket(0), 1, graph);
        inputSocket->relinkConnections(operation->getInputSocket(1), 0, graph);
        outputSocket->relinkConnections(operation->getOutputSocket());
-       addPreviewOperation(graph, operation->getOutputSocket(0));
+       addPreviewOperation(graph, context, operation->getOutputSocket(0));
 
        graph->addOperation(operation);
 }