Revert "Tag update when using particle edit brushes"

This reverts commit 5dba0b68f8.

Old code was supposed to use this function from draw, and we must never
poke depsgraph from drawing.
This commit is contained in:
Sergey Sharybin
2018-05-11 17:19:15 +02:00
parent 50bab7eb8a
commit 783bb4e1cd

View File

@@ -1312,8 +1312,6 @@ void PE_update_object(Depsgraph *depsgraph, Scene *scene, Object *ob, int usefla
if (edit->psys)
edit->psys->flag &= ~PSYS_HAIR_UPDATED;
DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
}
/************************************************/