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.
This commit is contained in:
2019-03-07 00:07:23 +11:00
parent ebcea3029d
commit 92094c76a9
12 changed files with 75 additions and 37 deletions

View File

@@ -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);
}