1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Return camera to origin when creating a new scene and going to 3d editor.

This commit is contained in:
Daniel J. Ramirez
2017-10-14 19:05:09 -05:00
parent 4585239a4b
commit c04f8721f3

View File

@@ -2576,6 +2576,7 @@ void SpatialEditorViewport::reset() {
cursor.y_rot = 0.5; cursor.y_rot = 0.5;
cursor.distance = 4; cursor.distance = 4;
cursor.region_select = false; cursor.region_select = false;
cursor.pos = Vector3();
_update_name(); _update_name();
} }