EgtExecutor 1.6u1 :

- con NewFile si fa reset di Pezzo/layer correnti.
This commit is contained in:
Dario Sassi
2016-09-14 09:34:22 +00:00
parent 2eda2e9d8f
commit 68b7edec5b
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ ExeSetCurrPartLayer( int nPartId, int nLayerId)
bOk = false ;
}
// verifico validità e visibilità layer
if ( pGeomDB->GetParentId( nLayerId) == nPartId &&
if ( pGeomDB->GetParentId( nLayerId) == pGseCtx->m_nCurrPart &&
ExeIsUserObj( pGeomDB, nLayerId) &&
ExeIsVisibleObj( pGeomDB, nLayerId)) {
pGseCtx->m_nCurrLayer = nLayerId ;