Salome HOME
[GPUSPHGUI] #511: Spheric2 with dynamic boundaries - Mesh offset failed
[modules/smesh.git] / src / SMESH / SMESH_MeshEditor.cxx
index 87dca725d4442d67fc84b1944b920326f14e24df..49537015136f4b8b56363d7e984f07c664f3f91a 100644 (file)
@@ -6789,7 +6789,9 @@ SMESH_MeshEditor::PGroupIDs SMESH_MeshEditor::Offset( TIDSortedElemSet & theElem
   for ( size_t i = 0; i < new2OldNodes.size(); ++i )
     if ( const SMDS_MeshNode* n = new2OldNodes[ i ].first )
     {
+#ifndef _DEBUG_
       if ( n->NbInverseElements() > 0 )
+#endif
       {
         const SMDS_MeshNode* n2 =
           tgtMeshDS->AddNodeWithID( n->X(), n->Y(), n->Z(), idShift + n->GetID() );