Merge pull request #49853 from AndreaCatania/AndreaCatania-patch-4
Remove early return from gizmo intersect_ray
This commit is contained in:
commit
49df7c0bc1
1 changed files with 0 additions and 4 deletions
|
@ -600,8 +600,6 @@ bool EditorNode3DGizmo::intersect_ray(Camera3D *p_camera, const Point2 &p_point,
|
|||
r_normal = -p_camera->project_ray_normal(p_point);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (collision_segments.size()) {
|
||||
|
@ -652,8 +650,6 @@ bool EditorNode3DGizmo::intersect_ray(Camera3D *p_camera, const Point2 &p_point,
|
|||
r_normal = -p_camera->project_ray_normal(p_point);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (collision_mesh.is_valid()) {
|
||||
|
|
Loading…
Reference in a new issue