Browse Source

Fix undefined parseASCII

Tristan VALCKE 7 years ago
parent
commit
f28233f50f
1 changed files with 2 additions and 1 deletions
  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 ) {
 
-		return parseASCII( String.fromCharCode.apply( null, data ) );
+		var scope = this;
+		return scope.parseASCII( String.fromCharCode.apply( null, data ) );
 
 	},