Merge pull request #89643 from mnemoli/pickone-fix-89641

Fix mouse events when `physics_object_picking_first_only` enabled
This commit is contained in:
Rémi Verschelde 2024-04-30 17:03:10 +02:00
commit ca38212604
No known key found for this signature in database
GPG key ID: C3336907360768E1

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;
}
}
}