Ver Fonte

Fix undefined parseASCII

Tristan VALCKE há 8 anos atrás
pai
commit
f28233f50f
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      examples/js/loaders/XLoader.js

+ 2 - 1
examples/js/loaders/XLoader.js

@@ -167,7 +167,8 @@ THREE.XLoader.prototype = {
 
 
 	parseBinary: function ( data ) {
 	parseBinary: function ( data ) {
 
 
-		return parseASCII( String.fromCharCode.apply( null, data ) );
+		var scope = this;
+		return scope.parseASCII( String.fromCharCode.apply( null, data ) );
 
 
 	},
 	},
 
 

粤ICP备19079148号