EgtGeomKernel 1.9h1 :

- sistemazioni varie in CAvToolTriangle
- utilizzo di std::async in CAvToolSurfTm
- corretto GetAllTriaAroundVertex di SurfTm
- aggiunto ( nothrow) a tutti i new.
This commit is contained in:
Dario Sassi
2018-08-08 11:02:56 +00:00
parent d0fb939541
commit 866ed0b3d7
28 changed files with 618 additions and 475 deletions
+3 -3
View File
@@ -368,7 +368,7 @@ Attribs*
GdbObj::GetSafeAttribs( void)
{
if ( m_pAttribs == nullptr) {
Attribs* pAttribs = new (nothrow) Attribs ;
Attribs* pAttribs = new( nothrow) Attribs ;
if ( pAttribs == nullptr)
return nullptr ;
m_pAttribs = pAttribs ;
@@ -1052,7 +1052,7 @@ TextureData*
GdbObj::GetSafeTextureData( void)
{
if ( m_pTxrData == nullptr) {
TextureData* pTxrData = new (nothrow) TextureData ;
TextureData* pTxrData = new( nothrow) TextureData ;
if ( pTxrData == nullptr)
return nullptr ;
m_pTxrData = pTxrData ;
@@ -1183,7 +1183,7 @@ GdbObj::LoadUserObj( NgeReader& ngeIn, int nBaseGdbId)
m_pUserObj = USEROBJ_CREATE( sName) ;
// se non trovato uso quello di default
if ( m_pUserObj == nullptr)
m_pUserObj = new(nothrow) UserObjDefault( sName) ; ;
m_pUserObj = new( nothrow) UserObjDefault( sName) ; ;
if ( m_pUserObj == nullptr)
return false ;
// carico i dati nell'oggetto