浏览代码

BinaryLoader: Removed double slash.

Mr.doob 11 年之前
父节点
当前提交
4d75118300
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/loaders/BinaryLoader.js

+ 1 - 1
examples/js/loaders/BinaryLoader.js

@@ -69,7 +69,7 @@ THREE.BinaryLoader.prototype.loadAjaxJSON = function ( context, url, callback, t
 THREE.BinaryLoader.prototype.loadAjaxBuffers = function ( json, callback, binaryPath, texturePath, callbackProgress ) {
 
 	var xhr = new XMLHttpRequest(),
-		url = binaryPath + "/" + json.buffers;
+		url = binaryPath + json.buffers;
 
 	xhr.addEventListener( 'load', function ( event ) {