Animation system small fix:

On browsing actions in DopeSheet editor, the animation state didn't update.
This commit is contained in:
Ton Roosendaal 2012-12-19 18:36:20 +00:00
parent be67de7cab
commit 8d4c61a2ab

@ -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 */