Skip to content

Commit c393769

Browse files
committed
fix: solve fragmentidmap intersect logic
1 parent 4694098 commit c393769

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/fragments/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@thatopen/fragments",
33
"description": "Simple geometric system built on top of Three.js to display 3D BIM data efficiently.",
4-
"version": "2.3.0-alpha.8",
4+
"version": "2.3.0-alpha.9",
55
"author": "That Open Company",
66
"contributors": [
77
"Antonio Gonzalez Viegas (https://github.com/agviegas)",

packages/fragments/src/fragment-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class FragmentUtils {
4646
for (const map of maps) {
4747
mapsCount++;
4848
for (const fragID in map) {
49-
if (visitedIDs.has(fragID)) {
49+
if (!visitedIDs.has(fragID)) {
5050
visitedIDs.set(fragID, {
5151
count: 0,
5252
ids: new Map(),

0 commit comments

Comments
 (0)