Ver código fonte

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

Fix transforms trying to continue after a cancel
Thaddeus Crews 2 semanas atrás
pai
commit
1a7c477787
1 arquivos alterados com 1 adições e 0 exclusões
  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.