Update FOV if edited in gizmo, fixes #16400

This commit is contained in:
Juan Linietsky 2018-09-06 16:22:34 -03:00
parent f6fbf841d5
commit 39e8aca1b7
1 changed files with 2 additions and 0 deletions

View File

@ -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) {