Browse Source

Fix transforms trying to continue after a cancel

Robert Yevdokimov 3 weeks ago
parent
commit
26f920f85e
1 changed files with 1 additions and 0 deletions
  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.