Browse Source

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

Fix transforms trying to continue after a cancel
Thaddeus Crews 3 tuần trước cách đây
mục cha
commit
1a7c477787
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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();
 	surface->queue_redraw();
 	set_process_input(false);
+	clicked = ObjectID();
 }
 
 // Register a shortcut and also add it as an input action with the same events.