rename remaining class members with m_ prefix.
[blender.git] / source / blender / compositor / nodes / COM_DilateErodeNode.cpp
index fbec1522e276071cc07c19dc70286e35dd7f8ecf..6a11f086b95d27f54ac0d8ac242183edebe78598 100644 (file)
@@ -77,7 +77,7 @@ void DilateErodeNode::convertToOperations(ExecutionSystem *graph, CompositorCont
                CompositorQuality quality = context->getQuality();
 
                /* initialize node data */
-               NodeBlurData *data = (NodeBlurData *)&this->alpha_blur;
+               NodeBlurData *data = (NodeBlurData *)&this->m_alpha_blur;
                memset(data, 0, sizeof(*data));
                data->filtertype = R_FILTER_GAUSS;
 
@@ -117,6 +117,12 @@ void DilateErodeNode::convertToOperations(ExecutionSystem *graph, CompositorCont
 #endif
                operationx->setSubtract(editorNode->custom2 < 0);
                operationy->setSubtract(editorNode->custom2 < 0);
+
+               if (editorNode->storage) {
+                       NodeDilateErode *data = (NodeDilateErode *)editorNode->storage;
+                       operationx->setFalloff(data->falloff);
+                       operationy->setFalloff(data->falloff);
+               }
        }
        else {
                if (editorNode->custom2 > 0) {