Use CameraAttributesPractical in the editor default environment

This avoids forcing DoF in the editor when physical light units are enabled
This commit is contained in:
clayjohn 2022-10-17 09:12:15 -07:00
parent 3a59c833f1
commit 15e14c5b59

View file

@ -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;