diff options
Diffstat (limited to 'source/blender/editors/transform/transform_mode_push_pull.c')
-rw-r--r-- | source/blender/editors/transform/transform_mode_push_pull.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_mode_push_pull.c b/source/blender/editors/transform/transform_mode_push_pull.c index 0527d1bc08e..8577a0a5e11 100644 --- a/source/blender/editors/transform/transform_mode_push_pull.c +++ b/source/blender/editors/transform/transform_mode_push_pull.c @@ -124,7 +124,7 @@ static void applyPushPull(TransInfo *t, const int UNUSED(mval[2])) int i; char str[UI_MAX_DRAW_STR]; - distance = t->values[0]; + distance = t->values[0] + t->values_modal_offset[0]; transform_snap_increment(t, &distance); @@ -199,4 +199,5 @@ void initPushPull(TransInfo *t) t->num.unit_sys = t->scene->unit.system; t->num.unit_type[0] = B_UNIT_LENGTH; } + /** \} */ |