Skip to content

Commit

Permalink
Update FOV if edited in gizmo, fixes #16400
Browse files Browse the repository at this point in the history
  • Loading branch information
reduz committed Sep 6, 2018
1 parent f6fbf84 commit 39e8aca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scene/3d/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 39e8aca

Please sign in to comment.