Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / dynamicpaint.c
index f8d6fe1fdf05a717f11558c812220b8ab77e945b..2591c3c3c4751977853d7fdde03fc21e7cc384fc 100644 (file)
@@ -3051,7 +3051,7 @@ int dynamicPaint_createUVSurface(Scene *scene, DynamicPaintSurface *surface, flo
                                if (tempPoints[index].tri_index != -1) {
                                        memcpy(&f_data->uv_p[cursor], &tempPoints[index], sizeof(PaintUVPoint));
                                        memcpy(&f_data->barycentricWeights[cursor * aa_samples], &tempWeights[index * aa_samples],
-                                                  sizeof(*tempWeights) * aa_samples);
+                                              sizeof(*tempWeights) * aa_samples);
                                        cursor++;
                                }
                        }