]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL21729 TC5.1.4: Problem with saving study after "Convert to quadratic" operation
authoreap <eap@opencascade.com>
Thu, 6 May 2010 12:59:08 +0000 (12:59 +0000)
committereap <eap@opencascade.com>
Thu, 6 May 2010 12:59:08 +0000 (12:59 +0000)
* Fix GetMediumNode(): do not set node on subshape if the last not geiven

src/SMESH/SMESH_MesherHelper.cxx

index c5ee1fdb15e5da8c80db35f167028c79e6818496..13b06a3965960dc8f883e8f0f3f48ab8f360bca5 100644 (file)
@@ -809,7 +809,7 @@ const SMDS_MeshNode* SMESH_MesherHelper::GetMediumNode(const SMDS_MeshNode* n1,
     CheckNodeU( E, n12, U, BRep_Tool::Tolerance( E ), /*force=*/true);
     meshDS->SetNodeOnEdge(n12, edgeID, U);
   }
-  else
+  else if ( myShapeID > 1 )
   {
     meshDS->SetNodeInVolume(n12, myShapeID);
   }