EgtExecutor 2.5j1 :

- riallineamento
- sistemazioni per chiave di rete esposta su Internet.
This commit is contained in:
Dario Sassi
2023-10-09 13:07:33 +02:00
parent 206f3bdf61
commit 5ec4ed439f
5 changed files with 30 additions and 20 deletions
+6 -4
View File
@@ -929,9 +929,9 @@ ExeSurfTmCut( int nId, int nCutterId, bool bInVsOut, bool bSaveOnEq)
//----------------------------------------------------------------------------
bool
ExeSubtractProjectedFacesOnStmFace( int nSurfId, int nFaceInd, int nDestGrpId,
INTVECTOR vSurfsId, INTVECTOR vSurfFacesInd, bool bOCFlag,
int& nNewId, bool& bExistProjection, int& nNewFaceNbr)
ExeSurfTmSubtractProjectedFacesOnFace( int nSurfId, int nFaceInd, int nDestGrpId,
INTVECTOR vSurfsId, INTVECTOR vSurfFacesInd, bool bOCFlag,
bool& bExistProjection, int& nNewId, int& nNewFaceNbr)
{
IGeomDB* pGeomDB = GetCurrGeomDB() ;
VERIFY_GEOMDB( pGeomDB, false)
@@ -965,8 +965,10 @@ ExeSubtractProjectedFacesOnStmFace( int nSurfId, int nFaceInd, int nDestGrpId,
ISurfTriMesh* pStmRes = nullptr ;
bool bOk = SubtractProjectedFacesOnStmFace( *pStm, nFaceInd, vpStmOthers, vSurfFacesInd, bOCFlag,
bExistProjection, pStmRes, nNewFaceNbr) ;
if ( ! bOk)
if ( ! bOk) {
delete( pStmRes) ;
pStmRes = nullptr ;
}
nNewId = GDB_ID_NULL ;
if ( bOk && pStmRes != nullptr) {