Skip to content

Commit

Permalink
Rename .colorSpace -> .colorSpaced (mrdoob#27238)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag authored and AdaRoseCannon committed Jan 15, 2024
1 parent 48a09e7 commit 34c0ff5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/jsm/nodes/materials/MeshNormalNodeMaterial.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class MeshNormalNodeMaterial extends NodeMaterial {

this.isMeshNormalNodeMaterial = true;

this.colorSpace = false;
this.colorSpaced = false;

this.setDefaultValues( defaultValues );

Expand Down
5 changes: 3 additions & 2 deletions examples/jsm/nodes/materials/NodeMaterial.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class NodeMaterial extends ShaderMaterial {
this.fog = true;
this.lights = true;
this.normals = true;
this.colorSpace = true;

this.colorSpaced = true;

this.lightsNode = null;
this.envNode = null;
Expand Down Expand Up @@ -334,7 +335,7 @@ class NodeMaterial extends ShaderMaterial {

// ENCODING

if ( this.colorSpace === true ) {
if ( this.colorSpaced === true ) {

const renderTarget = renderer.getRenderTarget();

Expand Down

0 comments on commit 34c0ff5

Please sign in to comment.