mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 13:43:15 +00:00
Update FOV if edited in gizmo, fixes #16400
This commit is contained in:
parent
f6fbf841d5
commit
39e8aca1b7
@ -553,11 +553,13 @@ Camera::Projection Camera::get_projection() const {
|
||||
void Camera::set_fov(float p_fov) {
|
||||
fov = p_fov;
|
||||
_update_camera_mode();
|
||||
_change_notify("fov");
|
||||
}
|
||||
|
||||
void Camera::set_size(float p_size) {
|
||||
size = p_size;
|
||||
_update_camera_mode();
|
||||
_change_notify("size");
|
||||
}
|
||||
|
||||
void Camera::set_znear(float p_znear) {
|
||||
|
Loading…
Reference in New Issue
Block a user