From 8d4c61a2ab386f212bab2865aab76501fe29b48f Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Wed, 19 Dec 2012 18:36:20 +0000 Subject: [PATCH] Animation system small fix: On browsing actions in DopeSheet editor, the animation state didn't update. --- source/blender/makesrna/intern/rna_space.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 6c084cdd898..034ac544300 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -871,6 +871,9 @@ static void rna_SpaceDopeSheetEditor_action_update(Main *UNUSED(bmain), Scene *s /* show new id-count of action we're replacing */ adt->action = saction->action; id_us_plus(&adt->action->id); + + /* force update of animdata */ + adt->recalc |= ADT_RECALC_ANIM; } /* force depsgraph flush too */