Procházet zdrojové kódy

Drop the physics mouseover whenever a input has been handled.

Fixes #29575
MrCdK před 6 roky
rodič
revize
1810a901d2
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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 {