From 1810a901d2b0eb3b1d729f44f7b3f4990bf41785 Mon Sep 17 00:00:00 2001 From: MrCdK Date: Fri, 7 Jun 2019 17:21:12 +0200 Subject: [PATCH] Drop the physics mouseover whenever a input has been handled. Fixes #29575 --- scene/main/viewport.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index c02873cdeba..de553dd39e1 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -2905,6 +2905,7 @@ bool Viewport::gui_is_dragging() const { } void Viewport::set_input_as_handled() { + _drop_physics_mouseover(); if (handle_input_locally) { local_input_handled = true; } else {