Skip to content

Commit

Permalink
removes rogue commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCodeTherapy committed May 6, 2024
1 parent 7011081 commit c4b7ff6
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ export class ToneMappingFolder {
"minLuminance",
toneMappingOptions.minLuminance,
);
this.minLuminance.hidden = false; // toneMappingValues.mode === 2 ? true : false;
this.minLuminance.hidden = false;
this.avgLuminance = this.folder.addBinding(
toneMappingValues,
"averageLuminance",
toneMappingOptions.averageLuminance,
);
this.avgLuminance.hidden = false; // FtoneMappingValues.mode === 2 ? true : false;
this.avgLuminance.hidden = false;
this.folder.addBinding(toneMappingValues, "adaptationRate", toneMappingOptions.adaptationRate);
}

Expand All @@ -76,8 +76,6 @@ export class ToneMappingFolder {
const target = (e.target as any).key;
if (!target) return;
if (target === "mode") {
// this.minLuminance.hidden = toneMappingValues.mode === 2 ? true : false;
// this.avgLuminance.hidden = toneMappingValues.mode === 2 ? true : false;
setCustomToneMappingType(e.value as number);
}
(toneMappingEffect as any)[target] = e.value;
Expand Down

0 comments on commit c4b7ff6

Please sign in to comment.