EgtMachKernel 1.6p4 :
- ampliata Disposizione con gestione movimenti di pezzi con la testa tramite SpecialApply (che richiama script) - modifiche a Simulatore per gestire queste disposizioni e aggiunti richiami script su diversi eventi - modifiche a Generatore per gestire queste disposizioni - varie altre modifiche e migliorie.
This commit is contained in:
@@ -37,22 +37,22 @@ Table*
|
||||
Table::Clone( void) const
|
||||
{
|
||||
// alloco oggetto
|
||||
Table* pAx = new(nothrow) Table ;
|
||||
Table* pTab = new(nothrow) Table ;
|
||||
// eseguo copia dei dati
|
||||
if ( pAx != nullptr) {
|
||||
try { pAx->m_nOwnerId = GDB_ID_NULL ;
|
||||
pAx->m_pGeomDB = nullptr ;
|
||||
pAx->m_sName = m_sName ;
|
||||
pAx->m_nType = m_nType ;
|
||||
pAx->m_ptRef1 = m_ptRef1 ;
|
||||
if ( pTab != nullptr) {
|
||||
try { pTab->m_nOwnerId = GDB_ID_NULL ;
|
||||
pTab->m_pGeomDB = nullptr ;
|
||||
pTab->m_sName = m_sName ;
|
||||
pTab->m_nType = m_nType ;
|
||||
pTab->m_ptRef1 = m_ptRef1 ;
|
||||
}
|
||||
catch( ...) {
|
||||
delete pAx ;
|
||||
delete pTab ;
|
||||
return nullptr ;
|
||||
}
|
||||
}
|
||||
// ritorno l'oggetto
|
||||
return pAx ;
|
||||
return pTab ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user