diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-03 01:40:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-07-03 01:40:40 +0400 |
commit | fedbb888255efa6f790f5bb323e4e91da6382f21 (patch) | |
tree | 91caf578379edacba132d79fc026f2c8766368d7 /source/blender | |
parent | 0c78ba1ba87f516809c7e6ea98729e872b4bd5e3 (diff) |
Mistake in last commit
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_project.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_project.c b/source/blender/editors/space_view3d/view3d_project.c index 073d4ed5b79..c1e42c97c4d 100644 --- a/source/blender/editors/space_view3d/view3d_project.c +++ b/source/blender/editors/space_view3d/view3d_project.c @@ -321,10 +321,10 @@ static void view3d_win_to_ray_segment(const ARegion *ar, View3D *v3d, const floa r_ray_co[1] = 2.0f * mval[1] / ar->winy - 1.0f; if (rv3d->persp == RV3D_CAMOB) { - r_ray_co[1] = -1.0f; + r_ray_co[2] = -1.0f; } else { - r_ray_co[1] = 0.0f; + r_ray_co[2] = 0.0f; } mul_project_m4_v3(rv3d->persinv, r_ray_co); |