EgtExecutor 2.3b2 :
- corretta ExeSaveMachGroupToFile con oggetti copia.
This commit is contained in:
+6
-1
@@ -514,8 +514,13 @@ ExeSaveMachGroupToFile( int nMGroupId, const string& sFilePath, int nFlag)
|
||||
while ( nRawId != GDB_ID_NULL) {
|
||||
int nPartId = pMachMgr->GetFirstPartInRawPart( nRawId) ;
|
||||
while ( nPartId != GDB_ID_NULL) {
|
||||
if ( find( vId.begin(), vId.end(), nPartId) == vId.end())
|
||||
if ( find( vId.begin(), vId.end(), nPartId) == vId.end()) {
|
||||
vId.emplace_back( nPartId) ;
|
||||
// potrebbe essere un duplicato, recupero eventuale originale
|
||||
int nOrigId = GDB_ID_NULL ; pGeomDB->GetInfo( nPartId, GDB_SI_DUPSOU, nOrigId) ;
|
||||
if ( ExeIsPart( nOrigId) && find( vId.begin(), vId.end(), nOrigId) == vId.end())
|
||||
vId.emplace_back( nOrigId) ;
|
||||
}
|
||||
nPartId = pMachMgr->GetNextPartInRawPart( nPartId) ;
|
||||
}
|
||||
nRawId = pMachMgr->GetNextRawPart( nRawId) ;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user