Skip to content

Commit

Permalink
Fix condition to set noTonemapper to false not working as it should
Browse files Browse the repository at this point in the history
  • Loading branch information
oneVR committed Jun 4, 2021
1 parent e92302a commit 0e2186c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Editor/WorldDebugger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2315,7 +2315,7 @@ private void CheckScene()
var colorGrading = postProcessProfile.GetSetting<ColorGrading>();
if (colorGrading && colorGrading.enabled && colorGrading.active)
{
if (colorGrading.tonemapper.overrideState && colorGrading.tonemapper.value == Tonemapper.None || !colorGrading.tonemapper.overrideState && colorGrading.gradingMode == GradingMode.HighDefinitionRange)
if (colorGrading.tonemapper.overrideState && colorGrading.tonemapper.value != Tonemapper.None)
{
noTonemapper = false;
}
Expand Down

0 comments on commit 0e2186c

Please sign in to comment.