From: vsr Date: Thu, 31 Mar 2011 08:57:09 +0000 (+0000) Subject: MED 3.0 porting: fix compilation problem X-Git-Tag: mergeto_V6_main_07Apr11~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9b3c9379bea93b3e272a98ee5e5424958b3b4b4f;p=modules%2Fvisu.git MED 3.0 porting: fix compilation problem --- 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); {