summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-31 14:19:11 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-10-31 14:19:11 +0100
commite47aa546cd4f560ada9cb47fe168435a202bf3eb (patch)
treed6437a2ee6433bb8d41674362b390a20178bd50f /editor/plugins
parent2af7a2367aaff08ac2f826be419ab838add7200b (diff)
parent03bbacfdca05f7df239a3c69e23334b83e169c4c (diff)
Merge pull request #68008 from timothyqiu/hide-axis
Hide axis gizmo after translating 3D nodes
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/node_3d_editor_plugin.cpp2
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 675f27f1f6..5309a028a9 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();
}