Skip to content

Commit

Permalink
feat: support distinction between streamed/non-streamed groups
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Jul 28, 2024
1 parent 218631c commit 88be54b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fragments/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@thatopen/fragments",
"description": "Simple geometric system built on top of Three.js to display 3D BIM data efficiently.",
"version": "2.1.4",
"version": "2.1.5",
"author": "That Open Company",
"contributors": [
"Antonio Gonzalez Viegas (https://github.com/agviegas)",
Expand Down
5 changes: 5 additions & 0 deletions packages/fragments/src/fragments-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ export class FragmentsGroup extends THREE.Group {
types: new Map<number, number[]>(),
};

/**
* Whether this fragments group is being streamed or not.
*/
isStreamed = false;

/**
* A getter that checks if this group has properties, either locally defined or streamed from a data source.
*/
Expand Down

0 comments on commit 88be54b

Please sign in to comment.