This commit is contained in:
eap 2011-10-06 09:43:59 +00:00
parent 59786ee5ea
commit 1f44408d18

View File

@ -895,9 +895,9 @@ FaceQuadStruct* StdMeshers_Quadrangle_2D::CheckNbEdges(SMESH_Mesh & aMes
for ( int i = degenSides.size()-1; i > -1; --i ) for ( int i = degenSides.size()-1; i > -1; --i )
{ {
StdMeshers_FaceSide* degenSide = quad->side[ degenSides[ i ]]; StdMeshers_FaceSide* degenSide = quad->side[ degenSides[ i ]];
delete degenSide; delete degenSide;
quad->side.erase( quad->side.begin() + degenSides[ i ] ); quad->side.erase( quad->side.begin() + degenSides[ i ] );
} }
for ( unsigned i = TOP_SIDE; i < quad->side.size(); ++i ) for ( unsigned i = TOP_SIDE; i < quad->side.size(); ++i )
quad->side[i]->Reverse(); quad->side[i]->Reverse();