Fix mouse_enter/mouse_exit events when physics_object_picking_first_only is on

This commit is contained in:
mnemoli 2024-03-18 11:19:22 +00:00
parent fe01776f05
commit ca23775374

View file

@ -856,9 +856,10 @@ void Viewport::_process_picking() {
if (send_event) {
co->_input_event_call(this, ev, res[i].shape);
if (physics_object_picking_first_only) {
break;
}
}
if (physics_object_picking_first_only) {
break;
}
}
}