EgtExecutor 2.5j1 :
- riallineamento - sistemazioni per chiave di rete esposta su Internet.
This commit is contained in:
+5
-3
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user