[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55805] trunk/blender/source/blender/ compositor/nodes/COM_ColorBalanceNode.cpp: Fix for compositor bug found by Ton Roosendaal.

Lukas Toenne lukas.toenne at googlemail.com
Fri Apr 5 13:02:32 CEST 2013


Revision: 55805
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55805
Author:   lukastoenne
Date:     2013-04-05 11:02:32 +0000 (Fri, 05 Apr 2013)
Log Message:
-----------
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.

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

Modified: trunk/blender/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp
===================================================================
--- trunk/blender/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp	2013-04-05 11:01:35 UTC (rev 55804)
+++ trunk/blender/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp	2013-04-05 11:02:32 UTC (rev 55805)
@@ -66,7 +66,7 @@
 	}
 	
 	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);
 }




More information about the Bf-blender-cvs mailing list