mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-15 07:00:34 +05:00
PAL13330( When mesh generation does not success, trace where )
fix computation of myNormPar in Reverse()
This commit is contained in:
parent
520e3c53e2
commit
c7f9c58caf
@ -354,9 +354,9 @@ void StdMeshers_FaceSide::Reverse()
|
|||||||
int nbEdges = myEdge.size();
|
int nbEdges = myEdge.size();
|
||||||
for ( int i = nbEdges-1; i >= 0; --i ) {
|
for ( int i = nbEdges-1; i >= 0; --i ) {
|
||||||
std::swap( myFirst[i], myLast[i] );
|
std::swap( myFirst[i], myLast[i] );
|
||||||
// at the first loop 1. is overwritten
|
|
||||||
myNormPar[i] = 1 - myNormPar[i-1];
|
|
||||||
myEdge[i].Reverse();
|
myEdge[i].Reverse();
|
||||||
|
if ( i > 0 ) // at the first loop 1. is overwritten
|
||||||
|
myNormPar[i] = 1 - myNormPar[i-1];
|
||||||
}
|
}
|
||||||
if ( nbEdges > 1 ) {
|
if ( nbEdges > 1 ) {
|
||||||
reverse( myEdge );
|
reverse( myEdge );
|
||||||
|
Loading…
Reference in New Issue
Block a user