EgtGeomKernel 2.3i1 :

- in Regioni se richiesto offset praticamente nullo non si fa alcunché.
This commit is contained in:
DarioS
2021-09-13 15:48:36 +02:00
parent f5b11a61a0
commit 641708a5fa
2 changed files with 3 additions and 0 deletions
BIN
View File
Binary file not shown.
+3
View File
@@ -27,6 +27,9 @@ SurfFlatRegion::Offset( double dDist, int nType)
int nChunk = GetChunkCount() ;
if ( nChunk == 0)
return false ;
// se offset nullo, non devo fare alcunché
if ( abs( dDist) < 10 * EPS_SMALL)
return true ;
// creo una nuova regione
PtrOwner<SurfFlatRegion> pSfr( new( nothrow) SurfFlatRegion) ;
if ( IsNull( pSfr))