EgtMachKernel :

- aggiustamento per nuovo parametro richiesto da ISurfTriMesh::GetSilhouette.
This commit is contained in:
DarioS
2021-09-26 16:29:34 +02:00
parent 7b90e2b152
commit bb8b6b9fc1
+1 -1
View File
@@ -414,7 +414,7 @@ MachMgr::AddRawPart( int nSurfId, Color cCol)
// ne calcolo la silhouette secondo Z+
POLYLINEVECTOR vPL ;
bool bSilh = false ;
if ( pStm->GetSilhouette( Z_AX, vPL) && vPL.size() > 0) {
if ( pStm->GetSilhouette( Z_AX, 10.0, vPL) && vPL.size() > 0) {
// cerco il contorno esterno
int nInd = - 1 ;
double dMaxArea = 0 ;