]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020439: EDF 695 SMESH : Improvement of DoubleNodes TUI feature
authoreap <eap@opencascade.com>
Tue, 10 Nov 2009 13:25:32 +0000 (13:25 +0000)
committereap <eap@opencascade.com>
Tue, 10 Nov 2009 13:25:32 +0000 (13:25 +0000)
src/SMESH/SMESH_MeshEditor.cxx

index 8051ecfebb4c2468310935068378dd71f0515b41..dda8337a3cf93664eca5da61d9cf5f83b530b2e5 100644 (file)
@@ -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 )