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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue