0026619: Tolerances of operands are modified using bop
[occt.git] / src / BOPAlgo / BOPAlgo_PaveFiller_8.cxx
index ae4ca2e..f56505a 100644 (file)
@@ -88,18 +88,17 @@ void BOPAlgo_PaveFiller::ProcessDE()
           // 1. Find PaveBlocks that are go through nV for nF
           FindPaveBlocks(nV, nF, aLPBOut);
           aNbPB=aLPBOut.Extent();
-          if (!aNbPB) {
-            continue;
+          if (aNbPB) {
+            //
+            // 2.
+            BOPDS_ListOfPaveBlock& aLPBD = myDS->ChangePaveBlocks(nE);
+            aPBD = aLPBD.First();
+            //
+            FillPaves(nV, nE, nF, aLPBOut, aPBD);
+            //
+            myDS->UpdatePaveBlock(aPBD);
           }
           //
-          // 2.
-          BOPDS_ListOfPaveBlock& aLPBD=myDS->ChangePaveBlocks(nE);
-          aPBD=aLPBD.First();
-          //
-          FillPaves(nV, nE, nF, aLPBOut, aPBD);
-          //
-          myDS->UpdatePaveBlock(aPBD);
-          //
           MakeSplitEdge(nE, nF);
           //
           aLPBOut.Clear();
@@ -330,8 +329,6 @@ void BOPAlgo_PaveFiller::ProcessDE()
       aPBD->AppendExtPave1(aPave);
     }
   }//for (; aItLPB.More(); aItLPB.Next()) {
-  //
-  myDS->UpdatePaveBlock(aPBD);
 }
 //=======================================================================
 // function:  MakeSplitEdge1