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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user