Fix T38432, Fix 38432: more stupid error in view3d ray code, sorry about that.

This commit is contained in:
Bastien Montagne 2014-02-01 15:06:13 +01:00
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
1 changed files with 2 additions and 2 deletions

View File

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