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
This commit is contained in:
eap 2010-05-06 12:59:08 +00:00
parent 6306913424
commit e2089449ad

View 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);
}