From 92094c76a949fb9ad9f85ea09aa1f518b402a916 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 7 Mar 2019 00:07:23 +1100 Subject: DNA: remove none particle brush & deprecated flags The none brush doesn't make sense to have anymore with the tool system. Also remove deprecated flags & types for object, armature & text. --- source/blender/editors/physics/particle_object.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/physics') diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c index 3b063fd7164..e0903a9d7c5 100644 --- a/source/blender/editors/physics/particle_object.c +++ b/source/blender/editors/physics/particle_object.c @@ -622,8 +622,9 @@ static void disconnect_hair( psys->flag |= PSYS_GLOBAL_HAIR; - if (ELEM(pset->brushtype, PE_BRUSH_ADD, PE_BRUSH_PUFF)) - pset->brushtype = PE_BRUSH_NONE; + if (ELEM(pset->brushtype, PE_BRUSH_ADD, PE_BRUSH_PUFF)) { + pset->brushtype = PE_BRUSH_COMB; + } PE_update_object(depsgraph, scene, ob, 0); } -- cgit v1.2.3