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:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user