Explorar o código

Drop the physics mouseover whenever a input has been handled.

Fixes #29575
MrCdK %!s(int64=6) %!d(string=hai) anos
pai
achega
1810a901d2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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() {
 void Viewport::set_input_as_handled() {
+	_drop_physics_mouseover();
 	if (handle_input_locally) {
 	if (handle_input_locally) {
 		local_input_handled = true;
 		local_input_handled = true;
 	} else {
 	} else {