EgtExecutor :
- modifica alla funzione EgtGetSurfFrZigZagInfill - modificati i valori di ritorno per LuaPocketing.
This commit is contained in:
@@ -989,13 +989,15 @@ LuaPocketing( lua_State* L) {
|
||||
LuaCheckParam( L, 7, nDestGrpId) ;
|
||||
LuaClearStack( L) ;
|
||||
// calcolo delle curve elementari di svuotatura
|
||||
int nFirstId ;
|
||||
int nCrvCount ;
|
||||
int nFirstId = GDB_ID_NULL ;
|
||||
int nCrvCount = 0 ;
|
||||
bool bOk = ExePocketing( vId, dRad, dStep, dAngle, nType, bSmooth, nDestGrpId, nFirstId, nCrvCount) ;
|
||||
LuaSetParam( L, bOk) ;
|
||||
LuaSetParam( L, nFirstId) ;
|
||||
if ( ! bOk)
|
||||
LuaSetParam( L) ;
|
||||
else
|
||||
LuaSetParam( L, nFirstId) ;
|
||||
LuaSetParam( L, nCrvCount) ;
|
||||
return 3 ;
|
||||
return 2 ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user