@thatopen/components 2.2.1 → 2.2.2

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
@@ -7676,7 +7676,7 @@ const Ei = class Ei extends Ot {
7676
7676
  const { uuid: e } = t, i = [];
7677
7677
  for (const n of t.items)
7678
7678
  i.push(n.id), this.list.delete(n.id);
7679
- t.dispose(!0), this.groups.delete(t.uuid), this.onFragmentsDisposed.trigger({
7679
+ t.dispose(!0), this.groups.delete(t.uuid), this.groups.size === 0 && (this.baseCoordinationModel = "", this.baseCoordinationMatrix = new M.Matrix4()), this.onFragmentsDisposed.trigger({
7680
7680
  groupID: e,
7681
7681
  fragmentIDs: i
7682
7682
  });