Popov72 před 5 roky
rodič
revize
ffe8bc51f7
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/Loading/sceneLoader.ts

+ 2 - 0
src/Loading/sceneLoader.ts

@@ -420,6 +420,8 @@ export class SceneLoader {
             if (plugin.directLoad) {
                 plugin.directLoad(scene, directLoad).then((data) => {
                     onSuccess(plugin, data);
+                }).catch((error) => {
+                    onError("Error in directLoad of _loadData: " + error, error);
                 });
             } else {
                 onSuccess(plugin, directLoad);