Mistake in last commit
This commit is contained in:
parent
0c78ba1ba8
commit
fedbb88825
Notes:
blender-bot
2023-02-14 10:23:35 +01:00
Referenced by issue #41126, Baking: Cycles takes much more memory to bake Normals Referenced by issue #40936, Bisect Tool cuts with offset Referenced by issue #40939, Blender Internal - Different results for SSS in Rendered View and Render (F12)
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue