EgtExecutor 2.5j1 :

- riallineamento
- sistemazioni per chiave di rete esposta su Internet.
This commit is contained in:
Dario Sassi
2023-10-09 13:07:33 +02:00
parent 206f3bdf61
commit 5ec4ed439f
5 changed files with 30 additions and 20 deletions
+5 -3
View File
@@ -723,7 +723,7 @@ LuaExtractSurfTmLoops( lua_State* L)
static int
LuaGetSurfTmSilhouette( lua_State* L)
{
// 4 o 5 o 6 parametri : nId, vtDir, dToler, nDestGrpId [, nRefType] [, bAllTria]
// 4 o 5 o 6 parametri : nId, vtDir, dToler, nDestGrpId [, nRefType [, bAllTria]]
int nId ;
LuaCheckParam( L, 1, nId)
Vector3d vtDir ;
@@ -733,9 +733,11 @@ LuaGetSurfTmSilhouette( lua_State* L)
int nDestGrpId ;
LuaCheckParam( L, 4, nDestGrpId)
int nRefType = RTY_DEFAULT ;
LuaGetParam( L, 5, nRefType) ;
bool bAllTria = false ;
LuaGetParam( L, 6, bAllTria) ;
if ( LuaGetParam( L, 5, nRefType))
LuaGetParam( L, 6, bAllTria) ;
else
LuaGetParam( L, 5, bAllTria) ;
LuaClearStack( L) ;
// recupero i contorni della superficie
int nCount = 0 ;