소스 검색

Follow GLTFLoader api for parse()

yomboprime 6 년 전
부모
커밋
87245cb81f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      examples/js/loaders/LDrawLoader.js

+ 2 - 2
examples/js/loaders/LDrawLoader.js

@@ -599,11 +599,11 @@ THREE.LDrawLoader = ( function () {
 
 		},
 
-		parse: function ( text, onParsed ) {
+		parse: function ( text, path, onLoad ) {
 
 			// Async parse.  This function calls onParse with the parsed THREE.Object3D as parameter
 
-			this.processObject( text, onProcessed, null, "" );
+			this.processObject( text, onLoad, null, path );
 
 		},