From 783bb4e1cd95c0b8f4ec213004dddcbaa4810b49 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 11 May 2018 17:19:15 +0200 Subject: [PATCH] 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. --- source/blender/editors/physics/particle_edit.c | 2 -- 1 file changed, 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); } /************************************************/