[Bf-blender-cvs] [a2a05acb4ae] master: Fix T65399: crash playing animation after applying smoke flow modifier

Philipp Oeser noreply at git.blender.org
Mon Jun 3 11:29:45 CEST 2019


Commit: a2a05acb4ae66cc4b1870cd05d652b5def66c75c
Author: Philipp Oeser
Date:   Mon Jun 3 10:30:38 2019 +0200
Branches: master
https://developer.blender.org/rBa2a05acb4ae66cc4b1870cd05d652b5def66c75c

Fix T65399: crash playing animation after applying smoke flow modifier

missing DEG update.

Reviewers: sergey

Maniphest Tasks: T65399

Differential Revision: https://developer.blender.org/D4996

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

M	source/blender/editors/object/object_modifier.c

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

diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c
index 8d3a636671a..42f819b9f42 100644
--- a/source/blender/editors/object/object_modifier.c
+++ b/source/blender/editors/object/object_modifier.c
@@ -1133,6 +1133,7 @@ static int modifier_apply_exec(bContext *C, wmOperator *op)
   }
 
   DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
+  DEG_relations_tag_update(bmain);
   WM_event_add_notifier(C, NC_OBJECT | ND_MODIFIER, ob);
 
   return OPERATOR_FINISHED;



More information about the Bf-blender-cvs mailing list