mirror of
https://github.com/godotengine/godot
synced 2024-09-16 00:37:24 +00:00
Fix mouse_enter/mouse_exit events when physics_object_picking_first_only is on
This commit is contained in:
parent
fe01776f05
commit
ca23775374
|
@ -856,6 +856,8 @@ void Viewport::_process_picking() {
|
|||
|
||||
if (send_event) {
|
||||
co->_input_event_call(this, ev, res[i].shape);
|
||||
}
|
||||
|
||||
if (physics_object_picking_first_only) {
|
||||
break;
|
||||
}
|
||||
|
@ -863,7 +865,6 @@ void Viewport::_process_picking() {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (is_mouse) {
|
||||
_cleanup_mouseover_colliders(false, false, frame);
|
||||
|
|
Loading…
Reference in a new issue