EgtExecutor 1.6v4 :

- aggiunta Exe e Lua InvertVector
- aggiunte Lua EgtCreateContext e EgtDeleteContext
- aggiunta Lua EgtSplitStringPlus.
This commit is contained in:
Dario Sassi
2016-10-18 18:37:08 +00:00
parent cd1e810cf1
commit 0d6a829de7
7 changed files with 142 additions and 33 deletions
+1 -2
View File
@@ -53,8 +53,7 @@ ExeInvertCurve( const INTVECTOR& vIds)
while ( nId != GDB_ID_NULL && bOk) {
// recupero la curva e la inverto
ICurve* pCurve = GetCurve( pGeomDB->GetGeoObj( nId)) ;
if ( pCurve != nullptr && ! pCurve->Invert())
bOk = false ;
bOk = ( pCurve != nullptr && pCurve->Invert()) ;
// passo alla successiva
nId = (( vIds[i] != GDB_ID_SEL) ? GDB_ID_NULL : pGeomDB->GetNextSelectedObj()) ;
}