From 39e8aca1b77c6cba8f7fa22cc277441e5e86cd16 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 6 Sep 2018 16:22:34 -0300 Subject: Update FOV if edited in gizmo, fixes #16400 --- scene/3d/camera.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/3d') 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) { -- cgit v1.2.3