From: eap Date: Thu, 6 May 2010 12:59:08 +0000 (+0000) Subject: PAL21729 TC5.1.4: Problem with saving study after "Convert to quadratic" operation X-Git-Tag: V5_1_4rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e2089449ad5454447ba481153bc9e2c093a6c774;p=modules%2Fsmesh.git PAL21729 TC5.1.4: Problem with saving study after "Convert to quadratic" operation * Fix GetMediumNode(): do not set node on subshape if the last not geiven --- diff --git a/src/SMESH/SMESH_MesherHelper.cxx b/src/SMESH/SMESH_MesherHelper.cxx index c5ee1fdb1..13b06a396 100644 --- a/src/SMESH/SMESH_MesherHelper.cxx +++ b/src/SMESH/SMESH_MesherHelper.cxx @@ -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); }