diff options
Diffstat (limited to 'source/blender/editors/transform/transform_mode_shear.c')
-rw-r--r-- | source/blender/editors/transform/transform_mode_shear.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_mode_shear.c b/source/blender/editors/transform/transform_mode_shear.c index 018725ec6dd..9369cb2e62b 100644 --- a/source/blender/editors/transform/transform_mode_shear.c +++ b/source/blender/editors/transform/transform_mode_shear.c @@ -199,7 +199,7 @@ static void applyShear(TransInfo *t, const int UNUSED(mval[2])) char str[UI_MAX_DRAW_STR]; const bool is_local_center = transdata_check_local_center(t, t->around); - value = t->values[0]; + value = t->values[0] + t->values_modal_offset[0]; transform_snap_increment(t, &value); @@ -289,4 +289,5 @@ void initShear(TransInfo *t) transform_mode_default_modal_orientation_set(t, V3D_ORIENT_VIEW); } + /** \} */ |