First new particle code:
[blender-staging.git] / source / blender / editors / sculpt_paint / paint_vertex.c
index 0c20c0cc1cf91e5eabd7ee0562ef1edfef69910e..0710079301b9e2710b100fc9acb1ac0e04bb2a31 100644 (file)
@@ -1274,7 +1274,7 @@ static void wpaint_exit(bContext *C, wmOperator *op)
                for(psys= ob->particlesystem.first; psys; psys= psys->next) {
                        for(i=0; i<PSYS_TOT_VG; i++) {
                                if(psys->vgroup[i]==ob->actdef) {
-                                       psys->recalc |= PSYS_RECALC_HAIR;
+                                       psys->recalc |= PSYS_RECALC_RESET;
                                        break;
                                }
                        }