EgtMachKernel 1.6s4 :
- gestione file mlde in sostituzione degli mde (si leggono ancora per compatibilità in assenza di mlde).
This commit is contained in:
+4
-2
@@ -109,8 +109,10 @@ Machine::Init( const string& sMachinesDir, const string& sMachineName, MachMgr*
|
||||
m_nGroupId = nId ;
|
||||
m_sName = sMachineName ;
|
||||
// carico la macchina {
|
||||
string sMachineMde = m_sMachineDir + "\\" + sMachineName + ".Mde" ;
|
||||
bool bOk = LuaLoadMachine( sMachineMde) ;
|
||||
string sMachineMlde = m_sMachineDir + "\\" + sMachineName + ".Mlde" ;
|
||||
if ( ! ExistsFile( sMachineMlde))
|
||||
sMachineMlde = m_sMachineDir + "\\" + sMachineName + ".Mde" ;
|
||||
bool bOk = LuaLoadMachine( sMachineMlde) ;
|
||||
// cancello il gruppo temporaneo
|
||||
m_pGeomDB->Erase( m_nTempGroupId) ;
|
||||
m_nTempGroupId = GDB_ID_NULL ;
|
||||
|
||||
Reference in New Issue
Block a user