فهرست منبع

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 );
 
 		},