diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-04-05 15:02:32 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-04-05 15:02:32 +0400 |
commit | 7fbebe670218475cb6eddcc34d430502e4d75b26 (patch) | |
tree | 6157b4e7956d108e8c60b604b0cda8e91b315730 /source/blender/compositor/nodes/COM_ColorBalanceNode.cpp | |
parent | a53a106065d7d71e2bc9d65668b0e811e8751713 (diff) |
Fix for compositor bug found by Ton Roosendaal. Color Balance node was using wrong socket index to map the operation socket to the UI node socket.
Diffstat (limited to 'source/blender/compositor/nodes/COM_ColorBalanceNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_ColorBalanceNode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp b/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp index d85b1ec1de1..aeed859b350 100644 --- a/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp +++ b/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp @@ -66,7 +66,7 @@ void ColorBalanceNode::convertToOperations(ExecutionSystem *graph, CompositorCon } inputSocket->relinkConnections(operation->getInputSocket(0), 0, graph); - inputImageSocket->relinkConnections(operation->getInputSocket(1), 0, graph); + inputImageSocket->relinkConnections(operation->getInputSocket(1), 1, graph); outputSocket->relinkConnections(operation->getOutputSocket(0)); graph->addOperation(operation); } |