Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 58e4d6b

Browse files
committed
Added a missing warning if the Focus Plane debug view is enabled and DoF isn't
1 parent 88b15d8 commit 58e4d6b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

PostProcessing/Editor/Models/BuiltinDebugViewsEditor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public override void OnInspectorGUI()
8686
else
8787
{
8888
CheckActiveEffect(mode == (int)Mode.AmbientOcclusion && !profile.ambientOcclusion.enabled, "Ambient Occlusion");
89+
CheckActiveEffect(mode == (int)Mode.FocusPlane && !profile.depthOfField.enabled, "Depth Of Field");
8990
CheckActiveEffect(mode == (int)Mode.EyeAdaptation && !profile.eyeAdaptation.enabled, "Eye Adaptation");
9091
CheckActiveEffect((mode == (int)Mode.LogLut || mode == (int)Mode.PreGradingLog) && !profile.colorGrading.enabled, "Color Grading");
9192
CheckActiveEffect(mode == (int)Mode.UserLut && !profile.userLut.enabled, "User Lut");

0 commit comments

Comments
 (0)