From 9b3c9379bea93b3e272a98ee5e5424958b3b4b4f Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 31 Mar 2011 08:57:09 +0000 Subject: [PATCH] MED 3.0 porting: fix compilation problem --- src/CONVERTOR/VISU_Vtk2MedConvertor.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CONVERTOR/VISU_Vtk2MedConvertor.cxx b/src/CONVERTOR/VISU_Vtk2MedConvertor.cxx index fe67d6db..e0ffb4f6 100644 --- a/src/CONVERTOR/VISU_Vtk2MedConvertor.cxx +++ b/src/CONVERTOR/VISU_Vtk2MedConvertor.cxx @@ -1244,8 +1244,9 @@ VISU_Vtk2MedConvertor MED::PWrapper myMed; MED::PMeshInfo aMeshInfo; int aMeshDimension = 3; + int aSpaceDimension = 3; myMed = CrWrapper(myMEDFileName.c_str(),myVersion); - aMeshInfo = myMed->CrMeshInfo(aMeshDimension,myMeshName.c_str()); + aMeshInfo = myMed->CrMeshInfo(aMeshDimension,aSpaceDimension,myMeshName.c_str()); myMed->SetMeshInfo(aMeshInfo); { -- 2.39.2