diff options
author | Germano Cavalcante <mano-wii> | 2020-08-31 16:14:40 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-08-31 17:24:37 +0300 |
commit | 546b900194f0f0464d126e1e18ea4fc7c9b1c1ff (patch) | |
tree | 002a8d8d326a5261c34f103e8d3347d00f00d87f /source/blender/editors/transform/transform_mode_gpshrinkfatten.c | |
parent | a1df2fc44388a92ba539f764203170902dd2a663 (diff) |
Cleanup/Refactor: Split the snap to increments code
Now we have a better distinction of what is snap to grid and what is
snap to increments.
The code also allows the implementation of mixed snap for these modes.
Diffstat (limited to 'source/blender/editors/transform/transform_mode_gpshrinkfatten.c')
-rw-r--r-- | source/blender/editors/transform/transform_mode_gpshrinkfatten.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_mode_gpshrinkfatten.c b/source/blender/editors/transform/transform_mode_gpshrinkfatten.c index ab9a0aa79ed..c025dbcaccb 100644 --- a/source/blender/editors/transform/transform_mode_gpshrinkfatten.c +++ b/source/blender/editors/transform/transform_mode_gpshrinkfatten.c @@ -53,7 +53,7 @@ static void applyGPShrinkFatten(TransInfo *t, const int UNUSED(mval[2])) ratio = t->values[0]; - snapGridIncrement(t, &ratio); + transform_snap_increment(t, &ratio); applyNumInput(&t->num, &ratio); |