Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2012-12-19 22:36:20 +0400
committerTon Roosendaal <ton@blender.org>2012-12-19 22:36:20 +0400
commit8d4c61a2ab386f212bab2865aab76501fe29b48f (patch)
tree0e2afb282829c3f36e46edaf5dd23942f6073902 /source
parentbe67de7cab12ca725440b183f473542d44af6975 (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.c3
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 */