Explorar o código

PMREMGenerator: Clean up.

Mr.doob %!s(int64=3) %!d(string=hai) anos
pai
achega
89b30b3934
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/extras/PMREMGenerator.js

+ 0 - 1
src/extras/PMREMGenerator.js

@@ -258,7 +258,6 @@ class PMREMGenerator {
 		};
 
 		const cubeUVRenderTarget = _createRenderTarget( width, height, params );
-		cubeUVRenderTarget.texture.image = { width, height };
 
 		if ( this._pingPongRenderTarget === null || this._pingPongRenderTarget.width !== width ) {