瀏覽代碼

Merge pull request #109684 from ryevdokimov/fix-cancel-fighting

Fix transforms trying to continue after a cancel
Thaddeus Crews 2 周之前
父節點
當前提交
1a7c477787
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/scene/3d/node_3d_editor_plugin.cpp

+ 1 - 0
editor/scene/3d/node_3d_editor_plugin.cpp

@@ -5664,6 +5664,7 @@ void Node3DEditorViewport::finish_transform() {
 	spatial_editor->update_transform_gizmo();
 	spatial_editor->update_transform_gizmo();
 	surface->queue_redraw();
 	surface->queue_redraw();
 	set_process_input(false);
 	set_process_input(false);
+	clicked = ObjectID();
 }
 }
 
 
 // Register a shortcut and also add it as an input action with the same events.
 // Register a shortcut and also add it as an input action with the same events.