소스 검색

Merge pull request #11700 from mrdoob/Mugen87-patch-1

Update UnrealBloomPass.js
Mr.doob 8 년 전
부모
커밋
81d9bc91d0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      examples/js/postprocessing/UnrealBloomPass.js

+ 2 - 2
examples/js/postprocessing/UnrealBloomPass.js

@@ -137,10 +137,10 @@ THREE.UnrealBloomPass.prototype = Object.assign( Object.create( THREE.Pass.proto
 	constructor: THREE.UnrealBloomPass,
 
 	dispose: function() {
-		for( var i=0; i< this.renderTargetsHorizontal.length(); i++) {
+		for( var i=0; i< this.renderTargetsHorizontal.length; i++) {
 			this.renderTargetsHorizontal[i].dispose();
 		}
-		for( var i=0; i< this.renderTargetsVertical.length(); i++) {
+		for( var i=0; i< this.renderTargetsVertical.length; i++) {
 			this.renderTargetsVertical[i].dispose();
 		}
 		this.renderTargetBright.dispose();