EgtExecutor :
- modifica parametri funzione ExportThreeJS.
This commit is contained in:
+2
-2
@@ -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<IExportThreeJS> 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) + ",'" +
|
||||
|
||||
+1
-3
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user