EgtExecutor :
- aggiunta funzione EraseFins per gli Zmap.
This commit is contained in:
@@ -437,6 +437,24 @@ LuaVolZmapOffset( lua_State* L)
|
||||
return 1 ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
static int
|
||||
LuaVolZmapEraseFins( lua_State* L)
|
||||
{
|
||||
// 3 parametri : Id, vtDir, dThick
|
||||
int nId ;
|
||||
LuaCheckParam( L, 1, nId) ;
|
||||
Vector3d vtDir ;
|
||||
LuaCheckParam( L, 2, vtDir) ;
|
||||
double dThick ;
|
||||
LuaCheckParam( L, 3, dThick) ;
|
||||
LuaClearStack( L) ;
|
||||
// Eseguo la rimozione delle alette
|
||||
bool bOk = ExeVolZMapEraseFins( nId, vtDir, dThick) ;
|
||||
LuaSetParam( L, bOk) ;
|
||||
return 1 ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
bool
|
||||
LuaInstallGdbModifyVol( LuaMgr& luaMgr)
|
||||
@@ -460,5 +478,6 @@ LuaInstallGdbModifyVol( LuaMgr& luaMgr)
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtUpdateVolZmapByAddingSurfTm", LuaUpdateVolZmapByAddingSurfTm ) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtUniformVolZmap", LuaUniformVolZmap) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtVolZmapOffset", LuaVolZmapOffset) ;
|
||||
bOk = bOk && luaMgr.RegisterFunction( "EgtVolZmapEraseFins", LuaVolZmapEraseFins) ;
|
||||
return bOk ;
|
||||
}
|
||||
Reference in New Issue
Block a user