Fix incorrect cast

This commit is contained in:
Campbell Barton 2015-08-31 13:47:32 +10:00
parent 4ac5859f05
commit d267739be7
1 changed files with 1 additions and 1 deletions

View File

@ -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;