Skip to content

Commit

Permalink
fixes #2778: Error when building the project.
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Nov 19, 2016
1 parent 2a145a1 commit cfa2187
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp
Expand Up @@ -4592,8 +4592,13 @@ void SMESH_MeshEditor::sweepElement(const SMDS_MeshElement* elem,
std::swap( itNN[0], itNN[1] );
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;
Expand Down

0 comments on commit cfa2187

Please sign in to comment.