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