[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58141] trunk/blender/source/blender/ compositor/nodes/COM_ChromaMatteNode.cpp: Fix #36041, Chroma key broken.
Lukas Toenne
lukas.toenne at googlemail.com
Wed Jul 10 09:23:56 CEST 2013
Revision: 58141
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58141
Author: lukastoenne
Date: 2013-07-10 07:23:55 +0000 (Wed, 10 Jul 2013)
Log Message:
-----------
Fix #36041, Chroma key broken. Compositor node was using wrong socket index to link the output of the RGBToYCC operation to the chroma matte input.
This mistake happens over and over, it's just not clear what the index arguments in these relink functions mean ... We really need to clean up that interface.
Modified Paths:
--------------
trunk/blender/source/blender/compositor/nodes/COM_ChromaMatteNode.cpp
Modified: trunk/blender/source/blender/compositor/nodes/COM_ChromaMatteNode.cpp
===================================================================
--- trunk/blender/source/blender/compositor/nodes/COM_ChromaMatteNode.cpp 2013-07-10 05:46:45 UTC (rev 58140)
+++ trunk/blender/source/blender/compositor/nodes/COM_ChromaMatteNode.cpp 2013-07-10 07:23:55 UTC (rev 58141)
@@ -47,7 +47,7 @@
operation->setSettings((NodeChroma *)editorsnode->storage);
inputSocketImage->relinkConnections(operationRGBToYCC_Image->getInputSocket(0), 0, graph);
- inputSocketKey->relinkConnections(operationRGBToYCC_Key->getInputSocket(0), 0, graph);
+ inputSocketKey->relinkConnections(operationRGBToYCC_Key->getInputSocket(0), 1, graph);
addLink(graph, operationRGBToYCC_Image->getOutputSocket(), operation->getInputSocket(0));
addLink(graph, operationRGBToYCC_Key->getOutputSocket(), operation->getInputSocket(1));
More information about the Bf-blender-cvs
mailing list