0020439: EDF 695 SMESH : Improvement of DoubleNodes TUI feature

This commit is contained in:
eap 2009-11-10 13:25:32 +00:00
parent 44e1b78904
commit 91b0f0faee

View File

@ -8731,7 +8731,7 @@ bool SMESH_MeshEditor::doubleNodes( SMESHDS_Mesh* theMeshDS,
theNodeNodeMap[ aCurrNode ] = aNewNode; theNodeNodeMap[ aCurrNode ] = aNewNode;
myLastCreatedNodes.Append( aNewNode ); myLastCreatedNodes.Append( aNewNode );
} }
isDuplicate |= (aCurrNode == aNewNode); isDuplicate |= (aCurrNode != aNewNode);
newNodes[ ind++ ] = aNewNode; newNodes[ ind++ ] = aNewNode;
} }
if ( !isDuplicate ) if ( !isDuplicate )