From: eap Date: Mon, 4 Feb 2013 11:40:07 +0000 (+0000) Subject: 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm X-Git-Tag: pluginMGCleaner~140 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4167c89c414511df59ceba2b9448128c3d7f00a6;p=modules%2Fsmesh.git 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm fix reversion myC3dAdaptor's --- diff --git a/src/StdMeshers/StdMeshers_FaceSide.cxx b/src/StdMeshers/StdMeshers_FaceSide.cxx index 634ecc740..8cad4eae1 100644 --- a/src/StdMeshers/StdMeshers_FaceSide.cxx +++ b/src/StdMeshers/StdMeshers_FaceSide.cxx @@ -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 ); } }