From f25473dfd205909deb17cb433a8658d11991fc52 Mon Sep 17 00:00:00 2001 From: SaraP Date: Mon, 27 Nov 2023 14:48:28 +0100 Subject: [PATCH] EgtExchange : - piccola correzione export stl. --- ExportStl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ExportStl.cpp b/ExportStl.cpp index 40d9078..88d36c6 100644 --- a/ExportStl.cpp +++ b/ExportStl.cpp @@ -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 ;