From 15e14c5b59504a5f354f71f678d18187ee712f7d Mon Sep 17 00:00:00 2001 From: clayjohn Date: Mon, 17 Oct 2022 09:12:15 -0700 Subject: Use CameraAttributesPractical in the editor default environment This avoids forcing DoF in the editor when physical light units are enabled --- editor/plugins/node_3d_editor_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/node_3d_editor_plugin.h b/editor/plugins/node_3d_editor_plugin.h index c76f534c22..60b2d0b5dd 100644 --- a/editor/plugins/node_3d_editor_plugin.h +++ b/editor/plugins/node_3d_editor_plugin.h @@ -767,7 +767,7 @@ private: WorldEnvironment *preview_environment = nullptr; bool preview_env_dangling = false; Ref environment; - Ref camera_attributes; + Ref camera_attributes; Ref sky_material; bool sun_environ_updating = false; -- cgit v1.2.3