summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2022-10-17 09:12:15 -0700
committerclayjohn <claynjohn@gmail.com>2022-10-18 10:15:53 -0700
commit15e14c5b59504a5f354f71f678d18187ee712f7d (patch)
treed16c8ceda5d3172c6a7a54d846f563cc8576a56b /editor
parent3a59c833f1b7e34ddef57522800288a0dee8562d (diff)
Use CameraAttributesPractical in the editor default environment
This avoids forcing DoF in the editor when physical light units are enabled
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/node_3d_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
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> environment;
- Ref<CameraAttributesPhysical> camera_attributes;
+ Ref<CameraAttributesPractical> camera_attributes;
Ref<ProceduralSkyMaterial> sky_material;
bool sun_environ_updating = false;