From e2089449ad5454447ba481153bc9e2c093a6c774 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 6 May 2010 12:59:08 +0000 Subject: [PATCH] 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 --- src/SMESH/SMESH_MesherHelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2