fixes #0002778: Error when building the project.

This commit is contained in:
wmayer 2016-11-19 18:14:44 +01:00
parent 2a145a12e1
commit cfa2187415

View File

@ -4593,7 +4593,12 @@ void SMESH_MeshEditor::sweepElement(const SMDS_MeshElement* elem,
std::swap( prevNod[0], prevNod[1] );
std::swap( nextNod[0], nextNod[1] );
std::swap( isSingleNode[0], isSingleNode[1] );
// See #0002784 for error message
//std::swap( isSingleNode[0], isSingleNode[1] );
bool temp = isSingleNode[0];
isSingleNode[0] = isSingleNode[1];
isSingleNode[1] = temp;
if ( nbSame > 0 )
sames[0] = 1 - sames[0];
iNotSameNode = 1 - iNotSameNode;