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:
Philipp Oeser 2019-06-03 10:30:38 +02:00
parent ccc7ebf7b1
commit a2a05acb4a
Notes: blender-bot 2023-02-14 02:30:11 +01:00
Referenced by issue #65399, Apply Quick Effect Crash Report
1 changed files with 1 additions and 0 deletions

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;