diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 991025a4d5d..ef99fedbec0 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -43,7 +43,6 @@ #include "DNA_armature_types.h" #include "DNA_mesh_types.h" -#include "DNA_particle_types.h" #include "DNA_scene_types.h" #include "DNA_brush_types.h" #include "DNA_object_types.h" @@ -2422,21 +2421,6 @@ static void wpaint_stroke_done(const bContext *C, struct PaintStroke *stroke) /* frees prev buffer */ copy_wpaint_prev(ts->wpaint, NULL, 0); - - /* and particles too */ - if (ob->particlesystem.first) { - ParticleSystem *psys; - int i; - - 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_RESET; - break; - } - } - } - } DAG_id_tag_update(ob->data, 0); |