EgtExchange :

- piccola correzione export stl.
This commit is contained in:
SaraP
2023-11-27 14:48:28 +01:00
parent 977fe9f016
commit f25473dfd2
+2 -2
View File
@@ -99,7 +99,7 @@ ExportStl::ExportObject( const IGdbIterator& iIter)
// recupero lo stato dell'oggetto
int nStat = GDB_ST_ON ;
iIter.GetCalcStatus( nStat) ;
int nType = iIter.GetGeoType() ;
int nType = iIter.GetGdbType() ;
// se il filtro lo abilita
if ( TestFilter( nLev, nMode, nStat, nType == GDB_TY_GROUP)) {
switch ( nType) {
@@ -118,7 +118,7 @@ ExportStl::ExportObject( const IGdbIterator& iIter)
if ( ! iIter.GetName( sName))
sName = ToString( iIter.GetId()) ;
// emetto l'oggetto
switch ( pGeoObj->GetType()) {
switch ( pGeoObj->GetType()) {
case SRF_TRIMESH :
if ( ! ExportSTM( sName, pGeoObj, frFrame))
return false ;