diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-02-02 23:40:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 23:40:58 +0100 |
commit | 6ae97bfdda72997028e771206e0fea1d56b311a3 (patch) | |
tree | 0a5bb53604999ca94c59c5b8df3fb0407a3a2e13 | |
parent | 3cecf11bb63174fbd9a22084281afa8891c72ca6 (diff) | |
parent | f995d6cd17e227492dee14627e9262292c58d6a4 (diff) |
Merge pull request #45669 from MrMinimal/master
Fix swapped front/rear view
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 0c005e0c23..a3009731f9 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -2831,7 +2831,7 @@ void Node3DEditorViewport::_menu_option(int p_option) { } break; case VIEW_FRONT: { cursor.x_rot = 0; - cursor.y_rot = 0; + cursor.y_rot = Math_PI; set_message(TTR("Front View."), 2); name = TTR("Front"); _set_auto_orthogonal(); @@ -2840,7 +2840,7 @@ void Node3DEditorViewport::_menu_option(int p_option) { } break; case VIEW_REAR: { cursor.x_rot = 0; - cursor.y_rot = Math_PI; + cursor.y_rot = 0; set_message(TTR("Rear View."), 2); name = TTR("Rear"); _set_auto_orthogonal(); |