diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-11 18:19:15 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-14 11:16:41 +0300 |
commit | 783bb4e1cd95c0b8f4ec213004dddcbaa4810b49 (patch) | |
tree | c3c97b03f7f831138ac7c9669e029eac758bc0e8 /source/blender/editors/physics/particle_edit.c | |
parent | 50bab7eb8a6fce58a6cd1dc52b4f29454d8b4c36 (diff) |
Revert "Tag update when using particle edit brushes"
This reverts commit 5dba0b68f8ba9e9d700c75be6595fb09e6d5c5ea.
Old code was supposed to use this function from draw, and we must never
poke depsgraph from drawing.
Diffstat (limited to 'source/blender/editors/physics/particle_edit.c')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index f65e598e204..3dadd72dbf6 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -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); } /************************************************/ |