EgtExecutor :
- piccola miglioria in seleziona7deseleziona oggetti di gruppi.
This commit is contained in:
@@ -421,7 +421,8 @@ MySelectGroupObjs( IGeomDB* pGeomDB, int nGrpId, int nFilter)
|
||||
while ( nId != GDB_ID_NULL) {
|
||||
// Se è gruppo seleziono i suoi componenti (ma non il gruppo)
|
||||
if ( pGeomDB->GetGdbType( nId) == GDB_TY_GROUP) {
|
||||
bOk = MySelectGroupObjs( pGeomDB, nId, nFilter) ;
|
||||
if ( ! MySelectGroupObjs( pGeomDB, nId, nFilter))
|
||||
bOk = false ;
|
||||
}
|
||||
// altrimenti, se selezionabile lo seleziono direttamente
|
||||
else {
|
||||
@@ -446,7 +447,8 @@ MyDeselectGroupObjs( IGeomDB* pGeomDB, int nGrpId)
|
||||
while ( nId != GDB_ID_NULL) {
|
||||
// Se è gruppo deseleziono i suoi componenti
|
||||
if ( pGeomDB->GetGdbType( nId) == GDB_TY_GROUP) {
|
||||
bOk = MyDeselectGroupObjs( pGeomDB, nId) ;
|
||||
if ( ! MyDeselectGroupObjs( pGeomDB, nId))
|
||||
bOk = false ;
|
||||
}
|
||||
// Eseguo deselezione (anche del gruppo per maggior sicurezza)
|
||||
if ( ! pGeomDB->DeselectObj( nId))
|
||||
|
||||
Reference in New Issue
Block a user