mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0030786: BOP Cut: artifacts with enabled nondestructive flag
Avoid PaveBlocks initialization on vertex update. Test case for the issue.
This commit is contained in:
@@ -152,8 +152,6 @@ Standard_Integer BOPAlgo_PaveFiller::UpdateVertex
|
||||
//
|
||||
// add vertex to SD map
|
||||
myDS->AddShapeSD(nV, nVNew);
|
||||
//
|
||||
myDS->InitPaveBlocksForVertex(nV);
|
||||
|
||||
// Add new vertex to map of vertices to avoid further extension
|
||||
myVertsToAvoidExtension.Add(nVNew);
|
||||
|
@@ -3250,6 +3250,7 @@ void BOPAlgo_PaveFiller::UpdateBlocksWithSharedVertices()
|
||||
aTolV=BRep_Tool::Tolerance(aV);
|
||||
//
|
||||
UpdateVertex(nV, aTolV);
|
||||
myDS->InitPaveBlocksForVertex (nV);
|
||||
}
|
||||
}//for (j=0; j<aNbC; ++j) {
|
||||
}//for (i=0; i<aNbFF; ++i) {
|
||||
|
Reference in New Issue
Block a user