Преглед изворни кода

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