|
@@ -41,7 +41,7 @@ export class B3DMLoader extends B3DMLoaderBase {
|
|
|
|
|
|
// GLTFLoader assumes the working path ends in a slash
|
|
// GLTFLoader assumes the working path ends in a slash
|
|
let workingPath = this.workingPath;
|
|
let workingPath = this.workingPath;
|
|
- if ( ! /[\\/]$/.test( workingPath ) ) {
|
|
|
|
|
|
+ if ( ! /[\\/]$/.test( workingPath ) && workingPath.length ) {
|
|
|
|
|
|
workingPath += '/';
|
|
workingPath += '/';
|
|
|
|
|