code cleanup: spelling
[blender.git] / source / blender / compositor / nodes / COM_DespeckleNode.cpp
index a97714c870e4e2d9cf55a63609febcb8a48460de..9894dc7b9ac11fa90938dcee55229e0ee016cfaa 100644 (file)
@@ -39,7 +39,7 @@ void DespeckleNode::convertToOperations(ExecutionSystem *graph, CompositorContex
 
        operation->setbNode(editorNode);
        operation->setThreshold(editorNode->custom3);
-       operation->setThresholdNeighbour(editorNode->custom4);
+       operation->setThresholdNeighbor(editorNode->custom4);
 
        inputImageSocket->relinkConnections(operation->getInputSocket(0), 1, graph);
        inputSocket->relinkConnections(operation->getInputSocket(1), 0, graph);