diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-11-12 16:17:57 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-11-12 16:18:33 +0300 |
commit | aee0446b6bdc6ff384e9d66a917f6cb06f620c0a (patch) | |
tree | f2cfd422a9415248c33118743d0d2c7427bf44d4 /source/blender/editors/transform | |
parent | 36a3a40033298227cfc55f59580e03863c09699d (diff) |
Add a lot of update tagging to operations with NLA tracks and strips.
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform_generics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c index cc7dccbb874..5cc98e52da2 100644 --- a/source/blender/editors/transform/transform_generics.c +++ b/source/blender/editors/transform/transform_generics.c @@ -491,7 +491,7 @@ static void recalcData_nla(TransInfo *t) * BUT only if realtime updates are enabled */ if ((snla->flag & SNLA_NOREALTIMEUPDATES) == 0) - ANIM_id_update(t->scene, tdn->id); + ANIM_id_update(CTX_data_main(t->context), tdn->id); /* if canceling transform, just write the values without validating, then move on */ if (t->state == TRANS_CANCEL) { |