]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix pattern mapping of mesh volumes (when pattern contains internal points).
authorjfa <jfa@opencascade.com>
Fri, 27 Apr 2007 11:53:08 +0000 (11:53 +0000)
committerjfa <jfa@opencascade.com>
Fri, 27 Apr 2007 11:53:08 +0000 (11:53 +0000)
src/SMESH/SMESH_Block.cxx

index fa7fc282fdfb8710d4d1db3c546ea5141274c93c..aca4f4912f2c021889f8f6f0148fa6603fc53212 100644 (file)
@@ -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;