Skip to content
Snippets Groups Projects
Commit 1776d803 authored by Céline  TREBEAU's avatar Céline TREBEAU
Browse files

Revert "Improvement : connected component (island) fully explored"

Not an improvement, the computation is slower
This reverts commit c7a25a9d
parent c7a25a9d
No related branches found
No related tags found
1 merge request!10Surface reconstruction Refactoring
Pipeline #42450 passed
...@@ -145,6 +145,11 @@ public class World ...@@ -145,6 +145,11 @@ public class World
} }
island.add( s ); island.add( s );
} }
if ( island.size() > islandSize )
{
island.reset();
return island;
}
} }
island.reset(); island.reset();
return island; return island;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment