EgtGeomKernel :

- piccole mdofiche poco più che estetiche.
This commit is contained in:
Dario Sassi
2025-01-20 08:30:39 +01:00
parent b5a2490fd4
commit b709776f5f
31 changed files with 131 additions and 130 deletions
+2 -2
View File
@@ -539,10 +539,10 @@ bool
SurfTriMesh::AddChainToChain( const Chain& ChainToAdd, PNTVECTOR& OrigChain)
{
// Se la catena da aggiungere è vuota, non devo fare alcunchè
if ( ChainToAdd.size() == 0)
if ( ChainToAdd.empty())
return true ;
// Se la catena originale è vuota, non è possibile aggiungere nulla
if ( OrigChain.size() == 0)
if ( OrigChain.empty())
return false ;
// Se la catena originale è chiusa non posso aggiungere nulla
int nLastOrig = max( int( OrigChain.size()) - 1, 0) ;