]> OCCT Git - occt-copy.git/commitdiff
0030398: Modeling Algorithms - thrusection produces twisted solid CR30398
authorifv <ifv@opencascade.com>
Sat, 29 Dec 2018 08:35:52 +0000 (11:35 +0300)
committerifv <ifv@opencascade.com>
Sat, 29 Dec 2018 08:35:52 +0000 (11:35 +0300)
src/BRepFill/BRepFill_CompatibleWires.cxx

index 6465264105d4318ed92e94317cd88345e2de1204..436932398aca4799ff7d40fb510fe5e0364d1bc4 100644 (file)
@@ -846,14 +846,14 @@ void BRepFill_CompatibleWires::Perform (const Standard_Boolean WithRotation)
   
   if (allClosed) {
     // All sections are closed 
-    if (report) {
+    //if (report) {
       // same number of elements  
       SameNumberByPolarMethod(WithRotation);
-    }
-    else {
-      // origin
-      ComputeOrigin(Standard_False);
-    }
+    //}
+    //else {
+    //  // origin
+    //  ComputeOrigin(Standard_False);
+    //}
     myIsDone = Standard_True;
   }
   else if (allOpen) {