diff options
author | Antonioya <blendergit@gmail.com> | 2017-03-01 15:08:15 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2017-03-01 15:08:15 +0300 |
commit | f64df0e1024c2447ad449d0bf63def871ee47925 (patch) | |
tree | 49eb6d295d7f657ce0f6201790ee6753172aebc0 /source | |
parent | 3626521346d477900f9140ef039bbfc25fa8321d (diff) |
Fix error moving keyframes in graph editor after refactor base
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_generics.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c index 343cae39db2..f56d810eeda 100644 --- a/source/blender/editors/transform/transform_generics.c +++ b/source/blender/editors/transform/transform_generics.c @@ -375,6 +375,7 @@ static void recalcData_graphedit(TransInfo *t) /* initialize relevant anim-context 'context' data from TransInfo data */ /* NOTE: sync this with the code in ANIM_animdata_get_context() */ ac.scene = t->scene; + ac.scene_layer = t->sl; ac.obact = OBACT_NEW; ac.sa = t->sa; ac.ar = t->ar; |