diff options
Diffstat (limited to 'source/blender/compositor')
-rw-r--r-- | source/blender/compositor/nodes/COM_DilateErodeNode.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/nodes/COM_DilateErodeNode.cc b/source/blender/compositor/nodes/COM_DilateErodeNode.cc index f1fc730776d..1b8c9d3b0a0 100644 --- a/source/blender/compositor/nodes/COM_DilateErodeNode.cc +++ b/source/blender/compositor/nodes/COM_DilateErodeNode.cc @@ -28,7 +28,7 @@ void DilateErodeNode::convert_to_operations(NodeConverter &converter, const CompositorContext &context) const { const bNode *editor_node = this->get_bnode(); - if (editor_node->custom1 == CMP_NODE_DILATEERODE_DISTANCE_THRESH) { + if (editor_node->custom1 == CMP_NODE_DILATE_ERODE_DISTANCE_THRESHOLD) { DilateErodeThresholdOperation *operation = new DilateErodeThresholdOperation(); operation->set_distance(editor_node->custom2); operation->set_inset(editor_node->custom3); @@ -47,7 +47,7 @@ void DilateErodeNode::convert_to_operations(NodeConverter &converter, converter.map_output_socket(get_output_socket(0), operation->get_output_socket(0)); } } - else if (editor_node->custom1 == CMP_NODE_DILATEERODE_DISTANCE) { + else if (editor_node->custom1 == CMP_NODE_DILATE_ERODE_DISTANCE) { if (editor_node->custom2 > 0) { DilateDistanceOperation *operation = new DilateDistanceOperation(); operation->set_distance(editor_node->custom2); @@ -65,7 +65,7 @@ void DilateErodeNode::convert_to_operations(NodeConverter &converter, converter.map_output_socket(get_output_socket(0), operation->get_output_socket(0)); } } - else if (editor_node->custom1 == CMP_NODE_DILATEERODE_DISTANCE_FEATHER) { + else if (editor_node->custom1 == CMP_NODE_DILATE_ERODE_DISTANCE_FEATHER) { /* this uses a modified gaussian blur function otherwise its far too slow */ eCompositorQuality quality = context.get_quality(); |