diff options
author | Ton Roosendaal <ton@blender.org> | 2012-12-19 22:36:20 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-12-19 22:36:20 +0400 |
commit | 8d4c61a2ab386f212bab2865aab76501fe29b48f (patch) | |
tree | 0e2afb282829c3f36e46edaf5dd23942f6073902 /source | |
parent | be67de7cab12ca725440b183f473542d44af6975 (diff) |
Animation system small fix:
On browsing actions in DopeSheet editor, the animation state didn't update.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |