EgtExecutor :
- piccole correzioni.
This commit is contained in:
+3
-2
@@ -92,6 +92,7 @@ LuaTrimmingGetSurfTmFromStmFaces( lua_State* L)
|
||||
INTVECTOR vFaces ;
|
||||
LuaCheckParam( L, 3, vFaces)
|
||||
LuaClearStack( L) ;
|
||||
// Eseguo
|
||||
int nNewSurfId = ExeTrimmingGetSurfTmFromStmFaces( nParentId, nSurfId, vFaces) ;
|
||||
LuaSetParam( L, nNewSurfId) ;
|
||||
return 1 ;
|
||||
@@ -178,7 +179,7 @@ LuaTrimmingGetBordersByNormals( lua_State* L)
|
||||
static int
|
||||
LuaTrimmingGetFinalBorders( lua_State* L)
|
||||
{
|
||||
// 4 o 5 o 6 o 7 parametri : nParentId, vCrvBezierId, dLinTol, dAngTol [,vBreakingPts] [,dThick] [,dThickTol]
|
||||
// 4 o 5 o 6 o 7 parametri : nParentId, vCrvBezierId, dLinTol, dAngTol [,vBreakingPts] [,dThick [,dThickTol]]
|
||||
int nParentId ;
|
||||
LuaCheckParam( L, 1, nParentId)
|
||||
INTVECTOR vCrvBezierId ;
|
||||
@@ -188,10 +189,10 @@ LuaTrimmingGetFinalBorders( lua_State* L)
|
||||
double dAngTol ;
|
||||
LuaCheckParam( L, 4, dAngTol)
|
||||
PNTVECTOR vBreakingPts ;
|
||||
double dThick = 0., dThickTol = EPS_SMALL ;
|
||||
int nInd = 5 ;
|
||||
if ( LuaGetParam( L, nInd, vBreakingPts))
|
||||
++ nInd ;
|
||||
double dThick = 0., dThickTol = EPS_SMALL ;
|
||||
if ( LuaGetParam( L, nInd, dThick)) {
|
||||
if ( ! LuaGetParam( L, nInd + 1, dThickTol)) {
|
||||
LuaClearStack( L) ;
|
||||
|
||||
Reference in New Issue
Block a user