[Bf-blender-cvs] [d267739] master: Fix incorrect cast

Campbell Barton noreply at git.blender.org
Mon Aug 31 08:27:51 CEST 2015


Commit: d267739be7f6f95b9c0af99571e818c9adde6cd2
Author: Campbell Barton
Date:   Mon Aug 31 13:47:32 2015 +1000
Branches: master
https://developer.blender.org/rBd267739be7f6f95b9c0af99571e818c9adde6cd2

Fix incorrect cast

===================================================================

M	source/blender/compositor/nodes/COM_ChannelMatteNode.cpp

===================================================================

diff --git a/source/blender/compositor/nodes/COM_ChannelMatteNode.cpp b/source/blender/compositor/nodes/COM_ChannelMatteNode.cpp
index cf0f471..aa93016 100644
--- a/source/blender/compositor/nodes/COM_ChannelMatteNode.cpp
+++ b/source/blender/compositor/nodes/COM_ChannelMatteNode.cpp
@@ -55,7 +55,7 @@ void ChannelMatteNode::convertToOperations(NodeConverter &converter, const Compo
 			convert = new ConvertRGBToYCCOperation();
 			((ConvertRGBToYCCOperation *)convert)->setMode(0); /* BLI_YCC_ITU_BT601 */
 			inv_convert = new ConvertYCCToRGBOperation();
-			((ConvertRGBToYCCOperation *)inv_convert)->setMode(0); /* BLI_YCC_ITU_BT601 */
+			((ConvertYCCToRGBOperation *)inv_convert)->setMode(0); /* BLI_YCC_ITU_BT601 */
 			break;
 		default:
 			break;




More information about the Bf-blender-cvs mailing list