diff --git a/EgtGeomKernel.rc b/EgtGeomKernel.rc index c9fb331..50dcb01 100644 Binary files a/EgtGeomKernel.rc and b/EgtGeomKernel.rc differ diff --git a/SurfFlatRegionOffset.cpp b/SurfFlatRegionOffset.cpp index be335b2..18fb77c 100644 --- a/SurfFlatRegionOffset.cpp +++ b/SurfFlatRegionOffset.cpp @@ -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 pSfr( new( nothrow) SurfFlatRegion) ; if ( IsNull( pSfr))