Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
6c2df679
Unverified
Commit
6c2df679
authored
Jun 07, 2020
by
Aaron Franke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the default editor camera rotation to position it in +X +Y +Z
parent
ec1bf96e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
node_3d_editor_plugin.cpp
editor/plugins/node_3d_editor_plugin.cpp
+1
-5
node_3d_editor_plugin.h
editor/plugins/node_3d_editor_plugin.h
+3
-1
No files found.
editor/plugins/node_3d_editor_plugin.cpp
View file @
6c2df679
...
...
@@ -3419,11 +3419,7 @@ void Node3DEditorViewport::reset() {
last_message
=
""
;
name
=
""
;
cursor
.
x_rot
=
0.5
;
cursor
.
y_rot
=
0.5
;
cursor
.
distance
=
4
;
cursor
.
region_select
=
false
;
cursor
.
pos
=
Vector3
();
cursor
=
Cursor
();
_update_name
();
}
...
...
editor/plugins/node_3d_editor_plugin.h
View file @
6c2df679
...
...
@@ -391,7 +391,9 @@ private:
Point2
region_begin
,
region_end
;
Cursor
()
{
x_rot
=
y_rot
=
0
.
5
;
// These rotations place the camera in +X +Y +Z, aka south east, facing north west.
x_rot
=
0
.
5
;
y_rot
=
-
0
.
5
;
distance
=
4
;
region_select
=
false
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment