Fix #115830: Poly Build tool crash with clipping borders #115840

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:115830 into main 2023-12-06 14:13:18 +01:00
1 changed files with 2 additions and 1 deletions

View File

@ -399,8 +399,9 @@ bool ED_view3d_win_to_ray_clipped(Depsgraph *depsgraph,
float r_ray_normal[3],
const bool do_clip_planes)
{
float ray_end_dummy[3];
return ED_view3d_win_to_ray_clipped_ex(
depsgraph, region, v3d, mval, do_clip_planes, nullptr, r_ray_normal, r_ray_start, nullptr);
depsgraph, region, v3d, mval, do_clip_planes, nullptr, r_ray_normal, r_ray_start, ray_end_dummy);
}
void ED_view3d_win_to_ray(const ARegion *region,