Animation: fix frame snapping for the time extend transformation mode. #116542
|
@ -174,7 +174,13 @@ bool transformModeUseSnap(const TransInfo *t)
|
|||
if (t->mode == TFM_RESIZE) {
|
||||
return (ts->snap_transform_mode_flag & SCE_SNAP_TRANSFORM_MODE_SCALE) != 0;
|
||||
}
|
||||
if (ELEM(t->mode, TFM_VERT_SLIDE, TFM_EDGE_SLIDE, TFM_SEQ_SLIDE, TFM_TIME_TRANSLATE)) {
|
||||
if (ELEM(t->mode,
|
||||
TFM_VERT_SLIDE,
|
||||
TFM_EDGE_SLIDE,
|
||||
TFM_SEQ_SLIDE,
|
||||
TFM_TIME_TRANSLATE,
|
||||
TFM_TIME_EXTEND))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue