Skip to content

Commit

Permalink
Fix for 10k points bug - upstream PR potree#607
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Newman committed Apr 9, 2024
1 parent af4666f commit 4e93719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Converter/src/indexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ vector<NodeCandidate> createNodes(vector<vector<int64_t>>& pyramid) {
// 4. Recursively repeat at 1. for identified nodes
void buildHierarchy(Indexer* indexer, Node* node, shared_ptr<Buffer> points, int64_t numPoints, int64_t depth = 0) {

if (numPoints < maxPointsPerChunk) {
if (numPoints <= maxPointsPerChunk) {
Node* realization = node;
realization->indexStart = 0;
realization->numPoints = numPoints;
Expand Down

0 comments on commit 4e93719

Please sign in to comment.