diff options
Diffstat (limited to 'source/blender/compositor/nodes/COM_ConvertAlphaNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_ConvertAlphaNode.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/compositor/nodes/COM_ConvertAlphaNode.cpp b/source/blender/compositor/nodes/COM_ConvertAlphaNode.cpp index 254dfb7b9c7..a7149cc63b2 100644 --- a/source/blender/compositor/nodes/COM_ConvertAlphaNode.cpp +++ b/source/blender/compositor/nodes/COM_ConvertAlphaNode.cpp @@ -20,8 +20,8 @@ */ #include "COM_ConvertAlphaNode.h" -#include "COM_ConvertPremulToKeyOperation.h" -#include "COM_ConvertKeyToPremulOperation.h" +#include "COM_ConvertPremulToStraightOperation.h" +#include "COM_ConvertStraightToPremulOperation.h" #include "COM_ExecutionSystem.h" void ConvertAlphaNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context) @@ -31,10 +31,10 @@ void ConvertAlphaNode::convertToOperations(ExecutionSystem *graph, CompositorCon /* value hardcoded in rna_nodetree.c */ if (node->custom1 == 1) { - operation = new ConvertPremulToKeyOperation(); + operation = new ConvertPremulToStraightOperation(); } else { - operation = new ConvertKeyToPremulOperation(); + operation = new ConvertStraightToPremulOperation(); } this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), 0, graph); |