浏览代码

Fix transforms trying to continue after a cancel

Robert Yevdokimov 3 周之前
父节点
当前提交
26f920f85e
共有 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();
 	surface->queue_redraw();
 	set_process_input(false);
+	clicked = ObjectID();
 }
 
 // Register a shortcut and also add it as an input action with the same events.