EgtGeomKernel :

- aggiunte funzioni per copia da un db a un altro (CopyEx e CopyGlobEx).
This commit is contained in:
Dario Sassi
2025-10-08 18:31:15 +02:00
parent fee6604d5e
commit 0bf2cc2a77
7 changed files with 188 additions and 2 deletions
+14
View File
@@ -101,6 +101,20 @@ GdbObj::CopyFrom( const GdbObj* pSou)
return ( CopyAttribsFrom( pSou) && CopyTextureDataFrom( pSou) && CopyUserObjFrom( pSou)) ;
}
//----------------------------------------------------------------------------
bool
GdbObj::CopyStippleDataFrom( const GdbObj* pSou)
{
// se l'oggetto sorgente non esiste
if ( pSou == nullptr)
return false ;
// copio stipple
m_nStpFactor = pSou->m_nStpFactor ;
m_nStpPattern = pSou->m_nStpPattern ;
return true ;
}
//----------------------------------------------------------------------------
bool
GdbObj::CopyAttribsFrom( const GdbObj* pSou)