EgtGeomKernel :

- aggiunti altri controlli per superfici trimesh vuote in CutWithOtherSurf, Cut e GeneralizedCut.
This commit is contained in:
DarioS
2023-07-21 17:20:09 +02:00
parent a0a6bf8377
commit 538126cfe5
2 changed files with 14 additions and 2 deletions
+4
View File
@@ -1697,6 +1697,10 @@ SurfTriMesh::CutWithOtherSurf( const ISurfTriMesh& CutterSurf, bool bInVsOut, bo
if ( ! IsValid() || ! CutterSurf.IsValid())
return false ;
// Se una delle due è vuota non devo fare alcunchè
if ( IsEmpty() || CutterSurf.IsEmpty())
return true ;
m_OGrMgr.Clear() ;
SurfTriMesh SurfC ;