diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-09-06 16:22:34 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-09-06 16:22:34 -0300 |
commit | 39e8aca1b77c6cba8f7fa22cc277441e5e86cd16 (patch) | |
tree | 8b7b88ca94dceed62ca1bbdd7125d8e65f055cdb /scene/3d | |
parent | f6fbf841d50d85f49fa127afdb29ebf23fe5974d (diff) |
Update FOV if edited in gizmo, fixes #16400
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/camera.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/camera.cpp b/scene/3d/camera.cpp index a4582b7d7d..6ecf219c2b 100644 --- a/scene/3d/camera.cpp +++ b/scene/3d/camera.cpp @@ -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) { |