diff options
Diffstat (limited to 'source/blender/editors/transform/transform_mode_timescale.c')
-rw-r--r-- | source/blender/editors/transform/transform_mode_timescale.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_mode_timescale.c b/source/blender/editors/transform/transform_mode_timescale.c index ce46cc36276..dbe06a6f1f6 100644 --- a/source/blender/editors/transform/transform_mode_timescale.c +++ b/source/blender/editors/transform/transform_mode_timescale.c @@ -148,10 +148,9 @@ void initTimeScale(TransInfo *t) t->num.idx_max = t->idx_max; /* initialize snap like for everything else */ - t->snap[0] = 0.0f; - t->snap[1] = t->snap[2] = 1.0f; + t->snap[0] = t->snap[1] = 1.0f; - copy_v3_fl(t->num.val_inc, t->snap[1]); + copy_v3_fl(t->num.val_inc, t->snap[0]); t->num.unit_sys = t->scene->unit.system; t->num.unit_type[0] = B_UNIT_NONE; } |