EgtExecutor 1.6w2 :

- aggiunte funzioni Exe e Lua per Zmap
- corretta fnzione disegno sfera.
This commit is contained in:
Dario Sassi
2016-11-07 08:00:40 +00:00
parent 4b95b19e9c
commit 20e88e8211
8 changed files with 193 additions and 5 deletions
+1 -1
View File
@@ -602,7 +602,7 @@ ExeCreateSurfTmSphere( int nParentId, const Point3d& ptOrig,
PtrOwner<ISurfTriMesh> pSTM( GetSurfTriMeshSphere( dRad, dLinTol)) ;
bOk = bOk && ! IsNull( pSTM) ;
// porto la sfera nella sua origine
bOk = bOk && pSTM->Translate( ptOrig - ORIG) ;
bOk = bOk && pSTM->Translate( ptOrigL - ORIG) ;
// inserisco la superficie nel DB
int nNewId = ( bOk ? pGeomDB->AddGeoObj( GDB_ID_NULL, nParentId, Release( pSTM)) : GDB_ID_NULL) ;
ExeSetModified() ;