Browse Source

Drop the physics mouseover whenever a input has been handled.

Fixes #29575
MrCdK 6 years ago
parent
commit
1810a901d2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scene/main/viewport.cpp

+ 1 - 0
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 {