1
0
Fork 0

Separate input-handled-state for different events during physics-picking

Currently the input-handled-state for different events can interfere with
each other.
This PR makes sure, that the input_handled_state is reset before
processing and InputEvent during physics-picking.
This commit is contained in:
Markus Sauermann 2023-07-16 14:36:18 +02:00
parent a7583881af
commit 95d294b97a
1 changed files with 1 additions and 0 deletions

View File

@ -717,6 +717,7 @@ void Viewport::_process_picking() {
}
while (physics_picking_events.size()) {
local_input_handled = false;
Ref<InputEvent> ev = physics_picking_events.front()->get();
physics_picking_events.pop_front();