EgtGeomKernel 2.6h2 :

- modifiche per permettere Mark di tipo 2.
This commit is contained in:
Dario Sassi
2024-08-22 09:10:04 +02:00
parent 2b4090619b
commit 3908e11d18
9 changed files with 25 additions and 27 deletions
+4 -4
View File
@@ -612,14 +612,14 @@ GdbObj::GetCalcStatus( int& nStat, int nLev) const
//----------------------------------------------------------------------------
bool
GdbObj::SetMark( void)
GdbObj::SetMark( int nMark)
{
// verifico esistenza (con eventuale creazione) degli attributi
if ( GetSafeAttribs() == nullptr)
return false ;
// assegno la marcatura
m_pAttribs->SetMark() ;
m_pAttribs->SetMark( nMark) ;
return true ;
}
@@ -659,8 +659,8 @@ GdbObj::GetCalcMark( int& nMark) const
nObjMark = m_pAttribs->GetMark() ;
// se la marcatura è ON, non ho bisogno di sapere altro
if ( nObjMark == GDB_MK_ON) {
nMark = GDB_MK_ON ;
if ( nObjMark == GDB_MK_ON || nObjMark == GDB_MK_ON_2) {
nMark = nObjMark ;
return true ;
}