@babylonjs/loaders 6.37.1 → 6.38.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -148,6 +148,12 @@ export class GLTFLoader {
148
148
  get rootBabylonMesh() {
149
149
  return this._rootBabylonMesh;
150
150
  }
151
+ /**
152
+ * The root url when loading the asset.
153
+ */
154
+ get rootUrl() {
155
+ return this._rootUrl;
156
+ }
151
157
  /**
152
158
  * @internal
153
159
  */
@@ -1552,8 +1558,7 @@ export class GLTFLoader {
1552
1558
  * @internal
1553
1559
  */
1554
1560
  _loadVertexAccessorAsync(context, accessor, kind) {
1555
- var _a;
1556
- if ((_a = accessor._babylonVertexBuffer) === null || _a === void 0 ? void 0 : _a[kind]) {
1561
+ if (accessor._babylonVertexBuffer?.[kind]) {
1557
1562
  return accessor._babylonVertexBuffer[kind];
1558
1563
  }
1559
1564
  if (!accessor._babylonVertexBuffer) {