diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-12-08 20:20:03 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-12-08 20:21:57 +0300 |
commit | f32b63ec583ce70081a1998b31470dbb74450a0f (patch) | |
tree | d9daeecf905b02bb329ddd0cfbdbd12d7d9487e4 /source/blender/editors/transform/transform_mode_curveshrinkfatten.c | |
parent | 6ebc581b52e9e5721833a528f6a536a80b615db2 (diff) |
Fix T93642: value used as transform offset is ignored in some modes
If a transform operator is executed as modal and has a "value" set, that value works as an offset.
However few transform modes were supporting this.
Include more transform modes as supported.
Diffstat (limited to 'source/blender/editors/transform/transform_mode_curveshrinkfatten.c')
-rw-r--r-- | source/blender/editors/transform/transform_mode_curveshrinkfatten.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_mode_curveshrinkfatten.c b/source/blender/editors/transform/transform_mode_curveshrinkfatten.c index 9433502ef55..f6d0eb49576 100644 --- a/source/blender/editors/transform/transform_mode_curveshrinkfatten.c +++ b/source/blender/editors/transform/transform_mode_curveshrinkfatten.c @@ -51,7 +51,7 @@ static void applyCurveShrinkFatten(TransInfo *t, const int UNUSED(mval[2])) int i; char str[UI_MAX_DRAW_STR]; - ratio = t->values[0]; + ratio = t->values[0] + t->values_modal_offset[0]; transform_snap_increment(t, &ratio); |