Skip to content

Commit c1c50e9

Browse files
committed
Update THREE.Legacy.js.
1 parent 8d00dc4 commit c1c50e9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/Three.Legacy.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,23 @@ Object.defineProperties( WebGLRenderer.prototype, {
5050

5151
console.warn( 'THREE.WebGLRenderer: .gammaFactor has been removed.' );
5252

53+
}
54+
},
55+
56+
// r141
57+
58+
outputEncoding: {
59+
get: function () {
60+
61+
console.warn( 'THREE.WebGLRenderer: .outputEncoding has been renamed to .outputColorSpace.' );
62+
return this.outputColorSpace;
63+
64+
},
65+
set: function ( value ) {
66+
67+
console.warn( 'THREE.WebGLRenderer: .outputEncoding has been renamed to .outputColorSpace.' );
68+
this.outputColorSpace = value;
69+
5370
}
5471
}
5572

0 commit comments

Comments
 (0)