Ver Fonte

Removed the unused initial xml doc creation that happens automatically from the XHR which returns an XML DOM object.

John Pywtorak há 13 anos atrás
pai
commit
e338d8e053
1 ficheiros alterados com 0 adições e 6 exclusões
  1. 0 6
      src/extras/loaders/ColladaLoader.js

+ 0 - 6
src/extras/loaders/ColladaLoader.js

@@ -30,12 +30,6 @@ THREE.ColladaLoader = function () {
 
 		if ( document.implementation && document.implementation.createDocument ) {
 
-			var namespaceURL = "http://www.collada.org/2005/11/COLLADASchema";
-			var rootTagName = "COLLADA";
-
-			var xmldoc = document.implementation.createDocument( namespaceURL, rootTagName, null );
-			var me = this;
-
 			// force reloading
 			// (should be configurable? sometimes caching is desirable)