Browse Source

Merge pull request #29579 from mrcdk/fix_29575

Drop the physics mouseover whenever a input has been handled.
Rémi Verschelde 5 years ago
parent
commit
8ffc56c3ca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scene/main/viewport.cpp

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