EgtExecutor :

- rimosso l'argomento dScaleFactor da Import3dm.
This commit is contained in:
Daniele Bariletti
2023-11-08 10:58:28 +01:00
parent 26111453ee
commit 246aa6e3ed
2 changed files with 5 additions and 27 deletions
+3 -4
View File
@@ -363,7 +363,7 @@ ExeImport3MF( const string& sFilePath)
//-----------------------------------------------------------------------------
bool
ExeImport3dm( const string& sFilePath, double dScaleFactor)
ExeImport3dm( const string& sFilePath)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_GEOMDB( pGseCtx, false)
@@ -384,7 +384,7 @@ ExeImport3dm( const string& sFilePath, double dScaleFactor)
int nDecDig = DimSt.nDecDigit ;
string sFont = DimSt.sFont ;
double dTextHeight = DimSt.dTextHeight ;
bOk = bOk && pImp3dm->Import( sFilePath, pGseCtx->m_pGeomDB, nLayerId, dScaleFactor,
bOk = bOk && pImp3dm->Import( sFilePath, pGseCtx->m_pGeomDB, nLayerId,
dTextHeight, dExtLine, dArrLen, dTextDist, bLenIsMM, nDecDig, sFont) ;
// aggiorno stato file corrente
if ( pGseCtx->m_sFilePath.empty())
@@ -393,8 +393,7 @@ ExeImport3dm( const string& sFilePath, double dScaleFactor)
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
string sLua = "EgtImport3dm('" + StringToLuaString( sFilePath) + "'," +
ToString( dScaleFactor) + ")" +
" -- Ok=" + ToString( bOk) ;
" -- Ok=" + ToString( bOk) ;
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
}
// restituisco il risultato