|
@@ -19,7 +19,7 @@ THREE.ColladaLoader.prototype = {
|
|
|
|
|
|
var scope = this;
|
|
|
|
|
|
- var path = THREE.Loader.prototype.extractUrlBase( url );
|
|
|
+ var path = scope.path === undefined ? THREE.Loader.prototype.extractUrlBase( url ) : scope.path;
|
|
|
|
|
|
var loader = new THREE.FileLoader( scope.manager );
|
|
|
loader.load( url, function ( text ) {
|
|
@@ -30,6 +30,12 @@ THREE.ColladaLoader.prototype = {
|
|
|
|
|
|
},
|
|
|
|
|
|
+ setPath: function ( value ) {
|
|
|
+
|
|
|
+ this.path = value;
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
options: {
|
|
|
|
|
|
set convertUpAxis( value ) {
|