diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-31 09:12:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-31 09:22:06 +0300 |
commit | d9e71d5e16ae3ff8e96dbaa72d9ee03b03b3c8e4 (patch) | |
tree | 49b6feb3d9726caa77f57a1810e7cd5134250c98 | |
parent | d267739be7f6f95b9c0af99571e818c9adde6cd2 (diff) |
Fix uninitialized vars in DistanceKey node
-rw-r--r-- | source/blender/compositor/nodes/COM_DistanceMatteNode.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/compositor/nodes/COM_DistanceMatteNode.cpp b/source/blender/compositor/nodes/COM_DistanceMatteNode.cpp index 5f3feda5de7..4f3ab60efee 100644 --- a/source/blender/compositor/nodes/COM_DistanceMatteNode.cpp +++ b/source/blender/compositor/nodes/COM_DistanceMatteNode.cpp @@ -66,6 +66,8 @@ void DistanceMatteNode::convertToOperations(NodeConverter &converter, const Comp ConvertRGBToYCCOperation *operationYCCImage = new ConvertRGBToYCCOperation(); ConvertRGBToYCCOperation *operationYCCMatte = new ConvertRGBToYCCOperation(); + operationYCCImage->setMode(0); /* BLI_YCC_ITU_BT601 */ + operationYCCMatte->setMode(0); /* BLI_YCC_ITU_BT601 */ converter.addOperation(operationYCCImage); converter.addOperation(operationYCCMatte); |