From: jfa Date: Fri, 27 Apr 2007 11:53:08 +0000 (+0000) Subject: Fix pattern mapping of mesh volumes (when pattern contains internal points). X-Git-Tag: T_PAL_15278~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=35df7f320da1273e0853a0262ea3e20280a7a824;p=modules%2Fsmesh.git Fix pattern mapping of mesh volumes (when pattern contains internal points). --- 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;