You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
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 cdcc3c919b)
This commit is contained in:
committed by
Rémi Verschelde
parent
3213ddd060
commit
db2cb08057
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user