浏览代码

Drop the physics mouseover whenever a input has been handled.

Fixes #29575
MrCdK 6 年之前
父节点
当前提交
1810a901d2
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 {