Browse Source

Added missing ex

David Catuhe 9 năm trước cách đây
mục cha
commit
3b479d544d

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 2
dist/preview release/babylon.core.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 3992 - 3992
dist/preview release/babylon.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 2
dist/preview release/babylon.js


+ 1 - 1
dist/preview release/babylon.max.js

@@ -23826,7 +23826,7 @@ var BABYLON;
                     }
                     catch (e) {
                         if (onerror) {
-                            onerror(scene, 'Unable to import meshes from ' + rootUrl + sceneFilename + ' (Exception: ' + e + ')');
+                            onerror(scene, 'Unable to import meshes from ' + rootUrl + sceneFilename, e);
                         }
                         scene._removePendingData(loadingToken);
                     }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 2
dist/preview release/babylon.noworker.js


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

@@ -142,7 +142,7 @@ var BABYLON;
                     }
                     catch (e) {
                         if (onerror) {
-                            onerror(scene, 'Unable to import meshes from ' + rootUrl + sceneFilename + ' (Exception: ' + e + ')');
+                            onerror(scene, 'Unable to import meshes from ' + rootUrl + sceneFilename, e);
                         }
                         scene._removePendingData(loadingToken);
                     }

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

@@ -158,7 +158,7 @@
                         }
                     } catch (e) {
                         if (onerror) {
-                            onerror(scene, 'Unable to import meshes from ' + rootUrl + sceneFilename + ' (Exception: ' + e + ')');
+                            onerror(scene, 'Unable to import meshes from ' + rootUrl + sceneFilename, e);
                         }
                         scene._removePendingData(loadingToken);
                     }