diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-26 00:10:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-26 00:10:43 +0300 |
commit | 92bf8fa214e675b6ede0186cd15d07dd77f15700 (patch) | |
tree | 63fd83326ae826c92a38a8d8b6bb00e2b7fcf32b | |
parent | d4df20ea3f3adb89fc036be0688b5b3fbadbd9f7 (diff) |
error in view3d math commit.
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 27fe63ba657..c07d457f164 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -1407,7 +1407,9 @@ static int viewselected_exec(bContext *C, wmOperator *op) /* like a localview wi } } - madd_v3_v3v3fl(new_ofs, min, max, -0.5f); + add_v3_v3v3(new_ofs, min, max); + mul_v3_fl(new_ofs, -0.5f); + new_dist = size; /* correction for window aspect ratio */ |