diff --git a/source/blender/editors/space_view3d/view3d_project.cc b/source/blender/editors/space_view3d/view3d_project.cc index 1d898e70113..cdcf8aa145d 100644 --- a/source/blender/editors/space_view3d/view3d_project.cc +++ b/source/blender/editors/space_view3d/view3d_project.cc @@ -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,