svn merge ^/trunk/blender -r43611:43616
[blender-staging.git] / source / blender / blenkernel / intern / dynamicpaint.c
index d5d1afef954e354580354b75f7ea0cb52ec754ed..0a3e928c2f64ef629c1b1e56c2e1755434cde579 100644 (file)
@@ -1698,9 +1698,6 @@ static struct DerivedMesh *dynamicPaint_Modifier_apply(DynamicPaintModifierData
                                        }
                                        /* vertex group paint */
                                        else if (surface->type == MOD_DPAINT_SURFACE_T_WEIGHT) {
-                                               MLoop *mloop = CDDM_get_loops(result);
-                                               int totloop = result->numLoopData;
-
                                                int defgrp_index = defgroup_name_index(ob, surface->output_name);
                                                MDeformVert *dvert = result->getVertDataArray(result, CD_MDEFORMVERT);
                                                float *weight = (float*)sData->type_data;