EgtMachKernel 1.6h3 :
- piccoli adattamenti - Count invece di Num o Nbr.
This commit is contained in:
+2
-2
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user