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
This commit is contained in:
2019-06-03 10:30:38 +02:00
parent ccc7ebf7b1
commit a2a05acb4a

View File

@@ -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;