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:
parent
3a59c833f1
commit
15e14c5b59
1 changed files with 1 additions and 1 deletions
|
@ -767,7 +767,7 @@ private:
|
||||||
WorldEnvironment *preview_environment = nullptr;
|
WorldEnvironment *preview_environment = nullptr;
|
||||||
bool preview_env_dangling = false;
|
bool preview_env_dangling = false;
|
||||||
Ref<Environment> environment;
|
Ref<Environment> environment;
|
||||||
Ref<CameraAttributesPhysical> camera_attributes;
|
Ref<CameraAttributesPractical> camera_attributes;
|
||||||
Ref<ProceduralSkyMaterial> sky_material;
|
Ref<ProceduralSkyMaterial> sky_material;
|
||||||
|
|
||||||
bool sun_environ_updating = false;
|
bool sun_environ_updating = false;
|
||||||
|
|
Loading…
Reference in a new issue