From 35df7f320da1273e0853a0262ea3e20280a7a824 Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 27 Apr 2007 11:53:08 +0000 Subject: [PATCH] Fix pattern mapping of mesh volumes (when pattern contains internal points). --- src/SMESH/SMESH_Block.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH/SMESH_Block.cxx b/src/SMESH/SMESH_Block.cxx index fa7fc282f..aca4f4912 100644 --- a/src/SMESH/SMESH_Block.cxx +++ b/src/SMESH/SMESH_Block.cxx @@ -1067,7 +1067,7 @@ bool SMESH_Block::LoadMeshBlock(const SMDS_MeshVolume* theVolume, TFace& tFace = myFace[ iF - ID_FirstF ]; vector< int > edgeIdVec(4, -1); GetFaceEdgesIDs( iF, edgeIdVec ); - tFace.Set( iF, myEdge[ edgeIdVec [ 0 ]], myEdge[ edgeIdVec [ 1 ]]); + tFace.Set( iF, myEdge[ edgeIdVec [ 0 ] - ID_Ex00], myEdge[ edgeIdVec [ 1 ] - ID_Ex00]); } return true; -- 2.39.2