提交 9dfe76e0 编写于 作者: M Mr.doob

ColladaLoader: application/xml produces Document instead of HTMLDocument.

上级 c6e69f22
......@@ -120,7 +120,7 @@
parse: function( text ) {
COLLADA = new DOMParser().parseFromString( text, 'text/xml' );
COLLADA = new DOMParser().parseFromString( text, 'application/xml' );
this.parseAsset();
this.setUpConversion();
......
......@@ -758,7 +758,7 @@ THREE.ColladaLoader.prototype = {
console.time( 'ColladaLoader: DOMParser' );
var xml = new DOMParser().parseFromString( text, 'text/xml' );
var xml = new DOMParser().parseFromString( text, 'application/xml' );
console.timeEnd( 'ColladaLoader: DOMParser' );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册