Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / dynamicpaint.c
index 5453982b07052abb688b68b84c5dbbed12b46333..590fe559ff048fccb84e84e673ccf0f45f2c32de 100644 (file)
@@ -1039,7 +1039,7 @@ DynamicPaintSurface *dynamicPaint_createNewSurface(DynamicPaintCanvasSettings *c
        /* Using ID_BRUSH i18n context, as we have no physics/dpaint one for now... */
        dynamicPaintSurface_setUniqueName(surface, CTX_DATA_(BLT_I18NCONTEXT_ID_BRUSH, "Surface"));
 
-       surface->effector_weights = BKE_add_effector_weights(NULL);
+       surface->effector_weights = BKE_effector_add_weights(NULL);
 
        dynamicPaintSurface_updateType(surface);