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:
@ -717,6 +717,7 @@ void Viewport::_process_picking() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (physics_picking_events.size()) {
|
while (physics_picking_events.size()) {
|
||||||
|
local_input_handled = false;
|
||||||
Ref<InputEvent> ev = physics_picking_events.front()->get();
|
Ref<InputEvent> ev = physics_picking_events.front()->get();
|
||||||
physics_picking_events.pop_front();
|
physics_picking_events.pop_front();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user