From: eap Date: Tue, 10 Nov 2009 13:25:32 +0000 (+0000) Subject: 0020439: EDF 695 SMESH : Improvement of DoubleNodes TUI feature X-Git-Tag: V5_1_3rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=91b0f0faee20b9903c4db73c5eeea394207ee8df;p=modules%2Fsmesh.git 0020439: EDF 695 SMESH : Improvement of DoubleNodes TUI feature --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 8051ecfeb..dda8337a3 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -8731,7 +8731,7 @@ bool SMESH_MeshEditor::doubleNodes( SMESHDS_Mesh* theMeshDS, theNodeNodeMap[ aCurrNode ] = aNewNode; myLastCreatedNodes.Append( aNewNode ); } - isDuplicate |= (aCurrNode == aNewNode); + isDuplicate |= (aCurrNode != aNewNode); newNodes[ ind++ ] = aNewNode; } if ( !isDuplicate )