Skip to content

Commit 34c0ff5

Browse files
sunagAdaRoseCannon
authored andcommitted
Rename .colorSpace -> .colorSpaced (mrdoob#27238)
1 parent 48a09e7 commit 34c0ff5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

examples/jsm/nodes/materials/MeshNormalNodeMaterial.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class MeshNormalNodeMaterial extends NodeMaterial {
1717

1818
this.isMeshNormalNodeMaterial = true;
1919

20-
this.colorSpace = false;
20+
this.colorSpaced = false;
2121

2222
this.setDefaultValues( defaultValues );
2323

examples/jsm/nodes/materials/NodeMaterial.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ class NodeMaterial extends ShaderMaterial {
3737
this.fog = true;
3838
this.lights = true;
3939
this.normals = true;
40-
this.colorSpace = true;
40+
41+
this.colorSpaced = true;
4142

4243
this.lightsNode = null;
4344
this.envNode = null;
@@ -334,7 +335,7 @@ class NodeMaterial extends ShaderMaterial {
334335

335336
// ENCODING
336337

337-
if ( this.colorSpace === true ) {
338+
if ( this.colorSpaced === true ) {
338339

339340
const renderTarget = renderer.getRenderTarget();
340341

0 commit comments

Comments
 (0)