diff options
| author | Hugo Locurcio | 2017-06-16 12:07:07 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-06-17 12:31:27 +0200 |
| commit | db2cb08057a4dce83bb2cbb43619ff3980b3ea0d (patch) | |
| tree | 1be165368b4e6cc961ab961fc40dbc1eda06ae33 /editor/plugins/spatial_editor_plugin.cpp | |
| parent | 3213ddd060c9952357e531392346afccdd31e182 (diff) | |
| download | godot-db2cb08057a4dce83bb2cbb43619ff3980b3ea0d.tar.gz godot-db2cb08057a4dce83bb2cbb43619ff3980b3ea0d.tar.zst godot-db2cb08057a4dce83bb2cbb43619ff3980b3ea0d.zip | |
Increase the default perspective camera FOV
This does not affect existing projects, but will affect newly-created
editor settings and Camera nodes.
(cherry picked from commit cdcc3c919b6cc1dc38b5ed82469964daea97aeb8)
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 7685809cf..5cc2ab0b5 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -3442,7 +3442,7 @@ void SpatialEditor::_bind_methods() { void SpatialEditor::clear() { - settings_fov->set_val(EDITOR_DEF("3d_editor/default_fov", 60.0)); + settings_fov->set_val(EDITOR_DEF("3d_editor/default_fov", 55.0)); settings_znear->set_val(EDITOR_DEF("3d_editor/default_z_near", 0.1)); settings_zfar->set_val(EDITOR_DEF("3d_editor/default_z_far", 1500.0)); @@ -3742,7 +3742,7 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { settings_fov->set_max(179); settings_fov->set_min(1); settings_fov->set_step(0.01); - settings_fov->set_val(EDITOR_DEF("3d_editor/default_fov", 60.0)); + settings_fov->set_val(EDITOR_DEF("3d_editor/default_fov", 55.0)); settings_vbc->add_margin_child(TTR("Perspective FOV (deg.):"), settings_fov); settings_znear = memnew(SpinBox); |
