EgtGeomKernel :

- a Frame3d aggiunto Set con angolidi eulero (CAC')
- corretta geometria da disegnare per vettore nullo
- ObjUser ora ha anche puntatore a GeomDB.
This commit is contained in:
Dario Sassi
2015-05-31 14:04:45 +00:00
parent dc29bb23af
commit b5e1e40a05
8 changed files with 54 additions and 20 deletions
+2 -3
View File
@@ -125,7 +125,7 @@ GdbObj::CopyObjUserFrom( const GdbObj* pSou)
m_pObjUser = pSou->m_pObjUser->Clone() ;
if ( m_pObjUser == nullptr)
return false ;
m_pObjUser->SetOwner( m_nId) ;
m_pObjUser->SetOwner( m_nId, m_pGDB) ;
}
// altrimenti lo cancello
else {
@@ -1060,7 +1060,6 @@ GdbObj::LoadObjUser( NgeReader& ngeIn)
// carico i dati nell'oggetto
if ( ! m_pObjUser->Load( vString))
return false ;
// imposto Id dell'oggetto proprietario
m_pObjUser->SetOwner( m_nId) ;
// impostazione Id e GeomDB fatte successivamente
return true ;
}