You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Return camera to origin when creating a new scene and going to 3d editor.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user