]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL13460 (PAL EDF 301 force the mesh to go through a point)
authoreap <eap@opencascade.com>
Wed, 28 Feb 2007 15:03:48 +0000 (15:03 +0000)
committereap <eap@opencascade.com>
Wed, 28 Feb 2007 15:03:48 +0000 (15:03 +0000)
   in LoadNodeColumns(), check IsMedium() on edges only

src/SMESH/SMESH_MesherHelper.cxx

index 7cf3b21f16d07a40bea460fec5da599a73a0b568..02627a0e6a9957d486a78ba8405f8a730dbd53f9 100644 (file)
@@ -951,7 +951,7 @@ bool SMESH_MesherHelper::LoadNodeColumns(TParam2ColumnMap & theParam2ColumnMap,
   const SMDS_MeshNode* node;
   while ( nIt->more() ) {
     node = nIt->next();
-    if(IsMedium(node))
+    if(IsMedium(node, SMDSAbs_Edge))
       continue;
     const SMDS_EdgePosition* pos =
       dynamic_cast<const SMDS_EdgePosition*>( node->GetPosition().get() );