Fix large incremental snap values in uv editor
Regression in rBa7aa0f1a0c24. The default values of `t->snap` have been changed.
This commit is contained in:
parent
da36efdf48
commit
93afc50ac3
|
@ -686,8 +686,8 @@ void initTranslation(TransInfo *t)
|
|||
t->num.flag = 0;
|
||||
t->num.idx_max = t->idx_max;
|
||||
|
||||
t->snap[0] = 1.0;
|
||||
t->snap[1] = t->snap_spatial_precision;
|
||||
t->snap[0] = t->snap_spatial[0];
|
||||
t->snap[1] = t->snap_spatial[0] * t->snap_spatial_precision;
|
||||
|
||||
copy_v3_fl(t->num.val_inc, t->snap[0]);
|
||||
t->num.unit_sys = t->scene->unit.system;
|
||||
|
|
Loading…
Reference in New Issue