Fix T38432, Fix 38432: more stupid error in view3d ray code, sorry about that.
This commit is contained in:
parent
1ff299b317
commit
a9e7c7b848
Notes:
blender-bot
2023-02-14 11:15:45 +01:00
Referenced by issue #38462, Ply import Error Referenced by issue #38429, Cannot Sculpt Referenced by issue #38432, Knife tool is not working
|
@ -316,8 +316,8 @@ static void view3d_win_to_ray_segment(const ARegion *ar, View3D *v3d, const floa
|
|||
if (rv3d->is_persp) {
|
||||
copy_v3_v3(r_ray_co, rv3d->viewinv[3]);
|
||||
|
||||
start_offset = -v3d->near;
|
||||
end_offset = -v3d->far;
|
||||
start_offset = v3d->near;
|
||||
end_offset = v3d->far;
|
||||
}
|
||||
else {
|
||||
float vec[4];
|
||||
|
|
Loading…
Reference in New Issue