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!
This commit is contained in:
parent
1b9feb04ab
commit
db32e6c4f7
Notes:
blender-bot
2023-02-14 10:47:15 +01:00
Referenced by issue #39795, Crash when duplicate f-curve keyframe, individual origins.
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue