EgtInterface 1.6b1 :
- gestione estrusione con facce di chiusura - gestione rivoluzione con facce di chiusura - razionalizzazione passaggio a locale.
This commit is contained in:
@@ -314,6 +314,21 @@ LuaErase( lua_State* L)
|
||||
return 1 ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
static int
|
||||
LuaEmptyGroup( lua_State* L)
|
||||
{
|
||||
// 1 parametro : Id
|
||||
int nId ;
|
||||
LuaCheckParam( L, 1, nId)
|
||||
LuaClearStack( L) ;
|
||||
// eseguo la cancellazione
|
||||
bool bOk = ( EgtEmptyGroup( nId) != FALSE) ;
|
||||
// restituisco il risultato
|
||||
LuaSetReturn( L, bOk) ;
|
||||
return 1 ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
bool
|
||||
LuaInstallGdbObjects( lua_State* L)
|
||||
@@ -333,6 +348,7 @@ LuaInstallGdbObjects( lua_State* L)
|
||||
lua_register( L, "EgtRelocateGlob", LuaRelocateGlob) ;
|
||||
lua_register( L, "EgtChangeId", LuaChangeId) ;
|
||||
lua_register( L, "EgtErase", LuaErase) ;
|
||||
lua_register( L, "EgtEmptyGroup", LuaEmptyGroup) ;
|
||||
}
|
||||
catch ( ...) {
|
||||
return false ;
|
||||
|
||||
Reference in New Issue
Block a user