EgtGeomKernel 2.6e4 :
- in CalcPocketing sistemata gestione di memoria che poteva dare crash.
This commit is contained in:
+3
-3
@@ -759,7 +759,7 @@ GetUnclearedRegion( ICRVCOMPOPOVECTOR& vFirstOffs, ICRVCOMPOPOVECTOR& vCrvs, ICU
|
||||
PtrOwner<ISurfFlatRegion> pSrfToolRegLinki( GetSurfFlatRegionFromFatCurve( Release( pCrvLink_i), s_dRad + 5 * EPS_SMALL, false, false)) ;
|
||||
if ( ! IsNull( pSrfToolRegLinki)) {
|
||||
if ( ! pSrfTool_Links->IsValid() || pSrfTool_Links->GetChunkCount() == 0)
|
||||
pSrfTool_Links.Set( GetBasicSurfFlatRegion( pSrfToolRegLinki)) ;
|
||||
pSrfTool_Links.Set( GetBasicSurfFlatRegion( Release( pSrfToolRegLinki))) ;
|
||||
else
|
||||
pSrfTool_Links->Add( *pSrfToolRegLinki) ;
|
||||
}
|
||||
@@ -2536,7 +2536,7 @@ CalcZigZag( const ISurfFlatRegion* pSrfZigZag, ICRVCOMPOPOVECTOR& vpCrvs, double
|
||||
vAddedLinks.emplace_back( pCrvLink->Clone()) ;
|
||||
|
||||
// pSeg2 ora diventa pSeg1 e il procedimento si itera per tutto il percorso
|
||||
pLastSeg.Set( Release( pSeg2)) ;
|
||||
pLastSeg.Set( pSeg2) ;
|
||||
}
|
||||
// cerco nella stessa fila o in quella successiva sezione successiva raccordabile tramite il contorno
|
||||
double dUstart = Sec.dOe ;
|
||||
@@ -3164,7 +3164,7 @@ AdjustLinkDifferentY( const ICurve* pCrvSegPrec, const ICurve* pCrvSegSucc, cons
|
||||
if ( IsNull( pSfrTrap_c))
|
||||
return false ;
|
||||
if ( ! pSfrTrap->Offset( - s_dRad / 5, ICurve::OFF_CHAMFER))
|
||||
pSfrTrap.Set( Release( pSfrTrap_c)) ;
|
||||
pSfrTrap.Set( pSfrTrap_c) ;
|
||||
|
||||
// se il Link interseca questa regione, allora va eliminato
|
||||
CRVCVECTOR ccClass ;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user