diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-30 16:20:39 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-30 16:20:39 +0400 |
commit | db32e6c4f77f7168b2261ac7d2070414e8153f95 (patch) | |
tree | 2217983eeaab063a2bdddd5d37e02c082848abdd /source | |
parent | 1b9feb04ab87e73482a6491569b4518aa6a54c1b (diff) |
Fix T39795: Crash when duplicate f-curve keyframe, individual origins
Seems to be just missing case for center point initialization in td.
Thanks Campbell for review!
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 2cec4d61e3e..b24c8229b61 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -7683,7 +7683,8 @@ static void applyTimeScale(TransInfo *t, const int UNUSED(mval[2])) /* TODO, move to: transform_queries.c */ bool checkUseLocalCenter_GraphEdit(TransInfo *t) { - return ((t->around == V3D_LOCAL) && !ELEM3(t->mode, TFM_TRANSLATION, TFM_TIME_TRANSLATE, TFM_TIME_SLIDE)); + return ((t->around == V3D_LOCAL) && + !ELEM4(t->mode, TFM_TRANSLATION, TFM_TIME_TRANSLATE, TFM_TIME_SLIDE, TFM_TIME_DUPLICATE)); } bool checkUseAxisMatrix(TransInfo *t) |