@forgeax/engine-gltf 0.1.33 → 0.1.35

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.
package/dist/index.mjs CHANGED
@@ -810,10 +810,7 @@ function gltfDocToSceneAsset(doc, ctx) {
810
810
  components.MeshRenderer = { materials: [] };
811
811
  }
812
812
  if (ir.instancing !== void 0) {
813
- const collectionId = ctx.instanceCollectionIdsByNodeIndex?.get(gltfNodeIdx);
814
- if (collectionId !== void 0) {
815
- components.Instances = { collectionId };
816
- }
813
+ components.Instances = { transforms: ir.instancing.transforms };
817
814
  }
818
815
  if (isCamera) {
819
816
  components.Camera = {