Fix missing animation curves update when tweaking f-curves
Action is an own datablock, meaning, changes to f-curves needs to copy those changes to all evaluated versions of action datablock.
This commit is contained in:
@@ -79,6 +79,9 @@ void ANIM_list_elem_update(Scene *scene, bAnimListElem *ale)
|
|||||||
if (adt) {
|
if (adt) {
|
||||||
adt->recalc |= ADT_RECALC_ANIM;
|
adt->recalc |= ADT_RECALC_ANIM;
|
||||||
DEG_id_tag_update(id, OB_RECALC_TIME);
|
DEG_id_tag_update(id, OB_RECALC_TIME);
|
||||||
|
if (adt->action != NULL) {
|
||||||
|
DEG_id_tag_update(&adt->action->id, DEG_TAG_COPY_ON_WRITE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* update data */
|
/* update data */
|
||||||
|
|||||||
Reference in New Issue
Block a user