diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-21 16:51:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-21 16:51:47 +0400 |
commit | 6701933f5ce4598d2fc98bd27a5b8a4e58ca06e2 (patch) | |
tree | 86eb9432c2350152aa7d829bb7adf41cf9fd2bde /source/blender/editors/space_view3d/view3d_edit.c | |
parent | 96b024333edf31fb02881b1c2fbacaf556a49439 (diff) |
style cleanup
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_edit.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 50eaa3b7ccc..082e7676daa 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -2987,7 +2987,7 @@ static int viewpan_exec(bContext *C, wmOperator *op) initgrabz(rv3d, 0.0, 0.0, 0.0); if (pandir == V3D_VIEW_PANRIGHT) { mval_f[0] = -32.0f; ED_view3d_win_to_delta(ar, mval_f, vec); } else if (pandir == V3D_VIEW_PANLEFT) { mval_f[0] = 32.0f; ED_view3d_win_to_delta(ar, mval_f, vec); } - else if (pandir == V3D_VIEW_PANUP) { mval_f[1] = -25.0f; ED_view3d_win_to_delta(ar, mval_f, vec); } + else if (pandir == V3D_VIEW_PANUP) { mval_f[1] = -25.0f; ED_view3d_win_to_delta(ar, mval_f, vec); } else if (pandir == V3D_VIEW_PANDOWN) { mval_f[1] = 25.0f; ED_view3d_win_to_delta(ar, mval_f, vec); } add_v3_v3(rv3d->ofs, vec); |