[Bf-blender-cvs] [db32e6c] master: Fix T39795: Crash when duplicate f-curve keyframe, individual origins
Sergey Sharybin
noreply at git.blender.org
Wed Apr 30 14:21:21 CEST 2014
Commit: db32e6c4f77f7168b2261ac7d2070414e8153f95
Author: Sergey Sharybin
Date: Wed Apr 30 18:20:39 2014 +0600
https://developer.blender.org/rBdb32e6c4f77f7168b2261ac7d2070414e8153f95
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!
===================================================================
M source/blender/editors/transform/transform.c
===================================================================
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 2cec4d6..b24c822 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)
More information about the Bf-blender-cvs
mailing list