From ccb7f1d4f1ef529417abb5623914dad914c1cda9 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Wed, 30 May 2018 14:22:18 +0200 Subject: Fix T55256: Animation Noise modifier does not update on value change Animation needs tagging in depsgraph (for animation refresh), instead of only tagging AnimData->recalc --- source/blender/makesrna/intern/rna_fcurve.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/makesrna') diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c index 681f29dbc91..61fcc0e6654 100644 --- a/source/blender/makesrna/intern/rna_fcurve.c +++ b/source/blender/makesrna/intern/rna_fcurve.c @@ -605,6 +605,10 @@ static void rna_FModifier_update(Main *UNUSED(bmain), Scene *UNUSED(scene), Poin DEG_id_tag_update(id, (GS(id->name) == ID_OB) ? OB_RECALC_OB : OB_RECALC_DATA); + /* tag datablock for time update so that animation is recalculated, + * as FModifiers affect how animation plays... + */ + DEG_id_tag_update(id, DEG_TAG_TIME); if (adt != NULL) { adt->recalc |= ADT_RECALC_ANIM; -- cgit v1.2.3