Merge commit '950d54f48678d9827b72979469086515f286913d' into feature/Svuotature
This commit is contained in:
+5
-5
@@ -1408,12 +1408,12 @@ PocketingNT::SetSfrLoopsAllTempProp( int nSfrId, ISurfFlatRegion* pSfr)
|
||||
// se non ho lati aperti, passo al loop successivo
|
||||
if ( vOpen.empty())
|
||||
continue ;
|
||||
// assegno le properità di lato aperto
|
||||
// assegno le proprietà di lato aperto
|
||||
for ( int i = 0 ; i < pSfr->GetLoopCurveCount( 0, nCount) ; ++ i) {
|
||||
pSfr->SetCurveTempProp( 0, nCount, i, TEMP_PROP_CLOSE_EDGE, 0) ;
|
||||
pSfr->SetCurveTempProp( 0, nCount, i, TEMP_PROP_INVALID, 1) ;
|
||||
}
|
||||
for ( int& i : vOpen)
|
||||
for ( int i : vOpen)
|
||||
pSfr->SetCurveTempProp( 0, nCount, i, TEMP_PROP_OPEN_EDGE, 0) ;
|
||||
} ;
|
||||
return true ;
|
||||
@@ -2664,11 +2664,11 @@ PocketingNT::ProcessPath( int nPathId, int nPvId, int nClId)
|
||||
int nCopyId = m_pGeomDB->CopyGlob( nSfrId, GDB_ID_NULL, nTempId) ;
|
||||
if ( nCopyId == GDB_ID_NULL)
|
||||
return false ;
|
||||
PtrOwner<ISurfFlatRegion> pSfr( CloneSurfFlatRegion( m_pGeomDB->GetGeoObj( nCopyId))) ;
|
||||
if ( IsNull( pSfr) || ! pSfr->IsValid())
|
||||
ISurfFlatRegion* pSfr( GetSurfFlatRegion( m_pGeomDB->GetGeoObj( nCopyId))) ;
|
||||
if ( pSfr == nullptr || ! pSfr->IsValid())
|
||||
return false ;
|
||||
|
||||
// assegno le proprietà di lato aperto ai sui loops
|
||||
// assegno le proprietà di lato aperto ai suoi loops
|
||||
SetSfrLoopsAllTempProp( nSfrId, pSfr) ;
|
||||
|
||||
// recupero estrusione e spessore
|
||||
|
||||
Reference in New Issue
Block a user