PAL22090 Qudrangle_2D preference Type works incorrectly with Sub-mesh on concave edges.

Fix Reverse() for the case of degenarated side (3-d constructor)
This commit is contained in:
eap 2010-10-21 08:59:07 +00:00
parent fd025ce2a6
commit f6c4926d41

View File

@ -452,9 +452,12 @@ void StdMeshers_FaceSide::Reverse()
reverse( myEdgeLength ); reverse( myEdgeLength );
reverse( myIsUniform ); reverse( myIsUniform );
} }
myNormPar[nbEdges-1]=1.; if ( nbEdges > 0 )
myPoints.clear(); {
myFalsePoints.clear(); myNormPar[nbEdges-1]=1.;
myPoints.clear();
myFalsePoints.clear();
}
} }
//================================================================================ //================================================================================