diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-10-29 16:17:28 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-10-29 16:17:28 +0800 |
commit | 03bbacfdca05f7df239a3c69e23334b83e169c4c (patch) | |
tree | a79a5d6bb019426c969e9b809196e22956c44488 | |
parent | 11e1bac768349ae821647a582282458e83b8d72b (diff) |
Hide axis gizmo after translating 3D nodes
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<InputEvent> &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(); } |