From 03bbacfdca05f7df239a3c69e23334b83e169c4c Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sat, 29 Oct 2022 16:17:28 +0800 Subject: Hide axis gizmo after translating 3D nodes --- editor/plugins/node_3d_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/plugins') diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 3c9d93f13a..f35747a1a7 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(); } -- cgit v1.2.3