浏览代码

remove unused variable

Garrett Johnson 6 年之前
父节点
当前提交
5f00c11ac4
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      examples/js/loaders/LDrawLoader.js

+ 0 - 12
examples/js/loaders/LDrawLoader.js

@@ -271,18 +271,6 @@ THREE.LDrawLoader = ( function () {
 
 			}, onProgress, onError );
 
-			function subobjectLoad( url, onLoad, onProgress, onError, subobject ) {
-
-				var fileLoader = new THREE.FileLoader( scope.manager );
-				fileLoader.setPath( scope.path );
-				fileLoader.load( url, function ( text ) {
-
-					processObject( text, onLoad, subobject );
-
-				}, onProgress, onError );
-
-			}
-
 			function processObject( text, onProcessed, subobject ) {
 
 				var parseScope = scope.newParseScopeLevel();