EgtMachKernel 1.6h3 :

- piccoli adattamenti
- Count invece di Num o Nbr.
This commit is contained in:
Dario Sassi
2015-08-18 07:32:29 +00:00
parent 09a9dcf526
commit e2a7280a07
8 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -213,7 +213,7 @@ Milling::VerifyGeometry( SelData Id, int& nSubs)
if ( Id.nSub == SEL_SUB_ALL) {
pCurve = ::GetCurve( m_pGeomDB->GetGeoObj( Id.nId)) ;
if ( pCurve != nullptr && pCurve->GetType() == CRV_COMPO)
nSubs = ::GetCurveComposite( pCurve)->GetCurveNumber() ;
nSubs = ::GetCurveComposite( pCurve)->GetCurveCount() ;
}
// altrimenti sottocurva di composita
else {
@@ -348,7 +348,7 @@ Milling::Chain( int nGrpDestId)
return false ;
}
// se non sono state inserite curve, vado oltre
if ( pCrvCompo->GetCurveNumber() == 0)
if ( pCrvCompo->GetCurveCount() == 0)
continue ;
// imposto estrusione e spessore
pCrvCompo->SetExtrusion( vtExtr) ;