From 03bbacfdca05f7df239a3c69e23334b83e169c4c Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sat, 29 Oct 2022 16:17:28 +0800 Subject: [PATCH] Hide axis gizmo after translating 3D nodes --- editor/plugins/node_3d_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 3c9d93f13a0..f35747a1a7b 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -1650,12 +1650,12 @@ void Node3DEditorViewport::_sinput(const Ref &p_event) { } se->gizmo->commit_subgizmos(ids, restore, false); - spatial_editor->update_transform_gizmo(); } else { commit_transform(); } _edit.mode = TRANSFORM_NONE; set_message(""); + spatial_editor->update_transform_gizmo(); } surface->queue_redraw(); }