@thatopen/components 2.1.25 → 2.1.26

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
@@ -3091,7 +3091,7 @@ const As = class As {
3091
3091
  /**
3092
3092
  * The version of the @thatopen/components library.
3093
3093
  */
3094
- u(As, "release", "2.1.25");
3094
+ u(As, "release", "2.1.26");
3095
3095
  let pi = As;
3096
3096
  class gr extends _i {
3097
3097
  constructor() {
@@ -8126,14 +8126,15 @@ const Ft = class Ft extends et {
8126
8126
  const i = Ft.getFragmentBounds(t);
8127
8127
  t.updateMatrixWorld();
8128
8128
  const o = t.matrixWorld, n = new A.Matrix4(), r = t instanceof A.InstancedMesh, a = /* @__PURE__ */ new Set();
8129
- if (e && t instanceof Vt.FragmentMesh)
8129
+ if (t instanceof Vt.FragmentMesh) {
8130
+ e || (e = t.fragment.ids);
8130
8131
  for (const c of e) {
8131
8132
  const h = t.fragment.getInstancesIDs(c);
8132
8133
  if (h)
8133
8134
  for (const E of h)
8134
8135
  a.add(E);
8135
8136
  }
8136
- else
8137
+ } else
8137
8138
  a.add(0);
8138
8139
  for (const c of a) {
8139
8140
  const h = i.min.clone(), E = i.max.clone();