From 4167c89c414511df59ceba2b9448128c3d7f00a6 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 4 Feb 2013 11:40:07 +0000 Subject: [PATCH] 0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm fix reversion myC3dAdaptor's --- src/StdMeshers/StdMeshers_FaceSide.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ); } } -- 2.39.2