David Catuhe %!s(int64=7) %!d(string=hai) anos
pai
achega
40ebc7e475
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Loading/babylon.sceneLoader.ts

+ 1 - 1
src/Loading/babylon.sceneLoader.ts

@@ -303,7 +303,7 @@
                 request = Tools.LoadFile(fileInfo.url, dataCallback, onProgress ? event => {
                     onProgress(SceneLoaderProgressEvent.FromProgressEvent(event));
                 } : undefined, database, useArrayBuffer, (request, exception) => {
-                    onError("Failed to load scene." + (exception ? "" : " " + exception.message), exception);
+                    onError("Failed to load scene." + (exception ? " " + exception.message : ""), exception);
                 });
             };