EgtInterface 1.6b3 :

- aggiunta gestione messaggi da file per le diverse lingue
- aggiunta gestione visualizzazione avanzata di triangoli si SurfTM
- aggiunta creazione poligoni regolari da raggio e da apotema
- cambiato nome di alcune funzioni di scena per gestire punto di vista.
This commit is contained in:
Dario Sassi
2015-02-14 09:32:58 +00:00
parent 1e24540dc1
commit 4c419a2f08
9 changed files with 306 additions and 7 deletions
+6 -1
View File
@@ -30,7 +30,6 @@
using namespace std ;
//-------------------------------------------------------------------------------
BOOL
__stdcall EgtChangeGroupFrame( int nId, double ptOrig[3],
@@ -67,6 +66,7 @@ EgtChangeGroupFrame( int nId, const Frame3d& frNewRef, int nRefType)
// aggiorno il gruppo
if ( bOk)
*pFrame = frNewL ;
EgtSetModified() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
string sLua = "EgtChangeGroupFrame(" + ToString( nId) + ",{" +
@@ -99,6 +99,7 @@ __stdcall EgtChangeVectorBase( int nId, const double ptB[3], int nRefType)
Point3d ptBL = GetPointLocal( pGeomDB, ptB, nRefType, frLoc) ;
// imposto il nuovo punto di base
bOk = bOk && pGVect->ChangeBase( ptBL) ;
EgtSetModified() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
string sLua = "EgtChangeVectorBase(" + ToString( nId) + ",{" +
@@ -137,6 +138,7 @@ __stdcall EgtInvertSurface( int nId)
nI = pGeomDB->GetNextSelectedObj() ;
}
}
EgtSetModified() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
string sLua = "EgtInvertSurf(" + ( nId != GDB_ID_SEL ? ToString( nId) : "GDB_ID_SEL") + ")" +
@@ -194,6 +196,7 @@ EgtSurfTmDoSewing( const INTVECTOR& vIds, bool bErase)
for ( size_t i = 1 ; i < vIds.size() ; ++ i)
pGeomDB->Erase( vIds[i]) ;
}
EgtSetModified() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
string sIds ;
@@ -308,6 +311,7 @@ __stdcall EgtExplodeText( int nId)
}
// elimino il testo originale
bOk = bOk && pGeomDB->Erase( nId) ;
EgtSetModified() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
string sLua = "EgtExplodeText(" + ToString( nId) + ")" +
@@ -349,6 +353,7 @@ __stdcall EgtSplitText( int nId)
}
// elimino il testo originale
bOk = bOk && pGeomDB->Erase( nId) ;
EgtSetModified() ;
// se richiesto, salvo il comando Lua equivalente
if ( IsCmdLog()) {
string sLua = "EgtSplitText(" + ToString( nId) + ")" +