diff --git a/packages/chili-occ/src/occHelps.ts b/packages/chili-occ/src/occHelps.ts index 12340d20..4ca2713d 100644 --- a/packages/chili-occ/src/occHelps.ts +++ b/packages/chili-occ/src/occHelps.ts @@ -458,12 +458,12 @@ export class OccHelps { ); const hashes = unique ? new Map() : undefined; while (explorer.More()) { - const item = explorer.Current(); + const item = this.getActualShape(explorer.Current()); if (unique) { const hash = OccHelps.hashCode(item); if (!hashes!.has(hash)) { hashes!.set(hash, true); - yield this.getActualShape(item); + yield item; } } else { yield item;