Browse Source

Fix swapped front/rear view

(cherry picked from commit f995d6cd17e227492dee14627e9262292c58d6a4)
Tom Langwaldt 4 years ago
parent
commit
67d80e6f73
1 changed files with 2 additions and 2 deletions
  1. 2 2
      editor/plugins/spatial_editor_plugin.cpp

+ 2 - 2
editor/plugins/spatial_editor_plugin.cpp

@@ -2803,7 +2803,7 @@ void SpatialEditorViewport::_menu_option(int p_option) {
 		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();
@@ -2813,7 +2813,7 @@ void SpatialEditorViewport::_menu_option(int p_option) {
 		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();