[Bf-blender-cvs] [5dba0b68f8b] blender2.8: Tag update when using particle edit brushes

Mai Lavelle noreply at git.blender.org
Thu Feb 15 09:37:47 CET 2018


Commit: 5dba0b68f8ba9e9d700c75be6595fb09e6d5c5ea
Author: Mai Lavelle
Date:   Thu Feb 8 21:37:03 2018 -0500
Branches: blender2.8
https://developer.blender.org/rB5dba0b68f8ba9e9d700c75be6595fb09e6d5c5ea

Tag update when using particle edit brushes

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

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 98bd2f9d247..4a807798c20 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -1315,6 +1315,8 @@ void PE_update_object(const EvaluationContext *eval_ctx, Scene *scene, ViewLayer
 
 	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