summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-11 09:37:27 +0100
committerGitHub <noreply@github.com>2019-11-11 09:37:27 +0100
commit8ffc56c3ca8747a8bc5b43d3a0061a5d62abf6c4 (patch)
treec4f7cef94197d0e40d8e781ffc7758a9d0d18ce3 /scene
parent5f4ab5c77ded1c078c8e3543727d576d837942e0 (diff)
parent1810a901d2b0eb3b1d729f44f7b3f4990bf41785 (diff)
Merge pull request #29579 from mrcdk/fix_29575
Drop the physics mouseover whenever a input has been handled.
Diffstat (limited to 'scene')
-rw-r--r--scene/main/viewport.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index 1af88171f6..b91a4b810f 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -3022,6 +3022,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 {