EgtExecutor :

- piccole modifiche.
This commit is contained in:
Daniele Bariletti
2024-07-16 12:00:59 +02:00
parent ddbc2a81e6
commit 9bc89dfc35
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -1190,9 +1190,9 @@ ExeCreateSurfBzByPointCurve( int nParentId, int nCrvId, const Point3d& ptTop,
CurveLocal CrvLoc( pGeomDB, nCrvId, frLoc) ;
bOk = bOk && ( CrvLoc.Get() != nullptr) ;
// porto in locale punto e vettore asse
Point3d ptAxL = GetPointLocal( pGeomDB, ptTop, nRefType, frLoc) ;
Point3d ptTopL = GetPointLocal( pGeomDB, ptTop, nRefType, frLoc) ;
// calcolo la superficie
ISurfBezier* pSTM = ( bOk ? GetSurfBezierRuled( ptTop, CrvLoc, dLinTol) : nullptr) ;
ISurfBezier* pSTM = ( bOk ? GetSurfBezierRuled( ptTopL, CrvLoc, dLinTol) : nullptr) ;
// inserisco la superficie nel DB
int nNewId = ( bOk ? pGeomDB->AddGeoObj( GDB_ID_NULL, nParentId, pSTM) : GDB_ID_NULL) ;
ExeSetModified() ;
-2
View File
@@ -1174,7 +1174,6 @@ LuaCurveBezierIncreaseDegree( lua_State* L)
LuaCheckParam( L, 1, nId)
LuaClearStack( L) ;
// eseguo
int nCount = 0 ;
bool bOk = ExeCurveBezierIncreaseDegree( nId) ;
LuaSetParam( L, bOk) ;
@@ -1190,7 +1189,6 @@ LuaCurveBezierDecreaseDegree( lua_State* L)
LuaCheckParam( L, 1, nId)
LuaClearStack( L) ;
// eseguo
int nCount = 0 ;
bool bOk = ExeCurveBezierDecreaseDegree( nId) ;
LuaSetParam( L, bOk) ;