mirror of
https://github.com/CloudCompare/PoissonRecon.git
synced 2026-08-29 08:34:27 +08:00
Minor bug fix affecting warning but not actual reconstruction
This commit is contained in:
@@ -203,9 +203,8 @@ size_t FEMTreeInitializer< Dim , Real >::Initialize( FEMTreeNode& root , InputPo
|
||||
bool foundBadNode = false;
|
||||
for( int d=0 ; d<Dim ; d++ )
|
||||
{
|
||||
if ( p[d]<start[d] ) p[d] = start[d];
|
||||
else if( p[d]>start[d]+width ) p[d] = start[d] + width;
|
||||
foundBadNode = true;
|
||||
if ( p[d]<start[d] ) foundBadNode = true , p[d] = start[d];
|
||||
else if( p[d]>start[d]+width ) foundBadNode = true , p[d] = start[d] + width;
|
||||
}
|
||||
if( foundBadNode )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user