[Bf-blender-cvs] [783bb4e1cd9] blender2.8: Revert "Tag update when using particle edit brushes"

Sergey Sharybin noreply at git.blender.org
Mon May 14 10:16:51 CEST 2018


Commit: 783bb4e1cd95c0b8f4ec213004dddcbaa4810b49
Author: Sergey Sharybin
Date:   Fri May 11 17:19:15 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB783bb4e1cd95c0b8f4ec213004dddcbaa4810b49

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.

===================================================================

M	source/blender/editors/physics/particle_edit.c

===================================================================

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);
 }
 
 /************************************************/



More information about the Bf-blender-cvs mailing list