diff --git a/EXE_Exchange.cpp b/EXE_Exchange.cpp index 8a96040..a5c1b05 100644 --- a/EXE_Exchange.cpp +++ b/EXE_Exchange.cpp @@ -559,7 +559,7 @@ ExeExportSvg( int nId, const string& sFilePath, int nFilter) //----------------------------------------------------------------------------- bool -ExeExportThreeJS( int nId, const string& sFilePath, const string& sFilePathM) +ExeExportThreeJS( int nId, const string& sFilePath) { IEGrScene* pScene = GetCurrScene(); VERIFY_SCENE(pScene, false) ; @@ -571,7 +571,7 @@ ExeExportThreeJS( int nId, const string& sFilePath, const string& sFilePathM) PtrOwner pExpThreeJS( MyCreateExportThreeJS()) ; bOk = bOk && ! IsNull( pExpThreeJS) ; // eseguo l'esportazione - bOk = bOk && pExpThreeJS->Export( pGeomDB, nId, sFilePath, sFilePathM, pScene) ; + bOk = bOk && pExpThreeJS->Export( pGeomDB, nId, sFilePath, pScene) ; // se richiesto, salvo il comando Lua equivalente if ( IsCmdLog()) { string sLua = "EgtExportThreeJS(" + ToString( nId) + ",'" + diff --git a/LUA_Exchange.cpp b/LUA_Exchange.cpp index 70498b1..2016d1f 100644 --- a/LUA_Exchange.cpp +++ b/LUA_Exchange.cpp @@ -233,11 +233,9 @@ LuaExportThreeJS( lua_State* L) LuaCheckParam( L, 1, nGroupId) string sFilePath ; LuaCheckParam( L, 2, sFilePath) - string sFilePathM; - LuaCheckParam(L, 3, sFilePathM) LuaClearStack( L) ; // creo il file - bool bOk = ExeExportThreeJS( nGroupId, sFilePath, sFilePathM) ; + bool bOk = ExeExportThreeJS( nGroupId, sFilePath) ; // restituisco il risultato LuaSetParam( L, bOk) ; return 1 ;