Browse Source

PMREMGenerator: Clean up.

Mr.doob 3 năm trước cách đây
mục cha
commit
89b30b3934
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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 ) {