Skip to content

Commit

Permalink
Glitch fix: incomplete fallback strategy in case of an invalid SF use…
Browse files Browse the repository at this point in the history
…d to support subsampling modulation
  • Loading branch information
dgirardeau committed Aug 31, 2024
1 parent bb68251 commit 06dfe42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CloudSamplingTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ ReferenceCloud* CloudSamplingTools::resampleCloudSpatially(GenericIndexedCloudPe
{
//all SF values are NAN?!
modParamsEnabled = false;
unsigned char defaultLevel = octree->findBestLevelForAGivenNeighbourhoodSizeExtraction(minDistance);
bestOctreeLevel.push_back(defaultLevel);
}
else
{
Expand Down

0 comments on commit 06dfe42

Please sign in to comment.