Mistake in last commit

This commit is contained in:
Campbell Barton
2014-07-03 07:40:40 +10:00
parent 0c78ba1ba8
commit fedbb88825

View File

@@ -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);