]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
authoreap <eap@opencascade.com>
Mon, 4 Feb 2013 11:40:07 +0000 (11:40 +0000)
committereap <eap@opencascade.com>
Mon, 4 Feb 2013 11:40:07 +0000 (11:40 +0000)
   fix reversion myC3dAdaptor's

src/StdMeshers/StdMeshers_FaceSide.cxx

index 634ecc7401b18c179b84bba3a56b28b3de127d83..8cad4eae160f60a299efc7e90e08f8eb4f9dd004 100644 (file)
@@ -587,7 +587,7 @@ void StdMeshers_FaceSide::Reverse()
     reverse( myEdge );
     reverse( myEdgeID );
     reverse( myC2d );
-    reverse( myC3dAdaptor );
+    //reverse( myC3dAdaptor );
     reverse( myFirst );
     reverse( myLast );
     reverse( myNormPar );
@@ -606,7 +606,8 @@ void StdMeshers_FaceSide::Reverse()
   {
     double fp,lp;
     Handle(Geom_Curve) C3d = BRep_Tool::Curve(myEdge[i],fp,lp);
-    myC3dAdaptor[i].Load( C3d, fp,lp );
+    if ( !C3d.IsNull() )
+      myC3dAdaptor[i].Load( C3d, fp,lp );
   }
 }