mirror of https://github.com/godotengine/godot
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:
parent
a7583881af
commit
95d294b97a
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue