From 1d099ae4ce6a55c744850438ad012b94e4a8b5b1 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 18 May 2007 13:52:55 +0000 Subject: [PATCH] Crash on import MED_FIELDINT : CORBA::Long should correspond to the VTK_LONG enum --- src/VISU_I/VISU_CorbaMedConvertor.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VISU_I/VISU_CorbaMedConvertor.cxx b/src/VISU_I/VISU_CorbaMedConvertor.cxx index 77f45e2e..11427b1a 100644 --- a/src/VISU_I/VISU_CorbaMedConvertor.cxx +++ b/src/VISU_I/VISU_CorbaMedConvertor.cxx @@ -674,7 +674,7 @@ VISU_MEDFieldConvertor vtkIdType aDataType = VTK_DOUBLE; SALOME_MED::FIELDDOUBLE_ptr aFieldDouble = SALOME_MED::FIELDDOUBLE::_narrow(myField); if(aFieldDouble->_is_nil()) - aDataType = VTK_INT; + aDataType = VTK_LONG; aField->Init(myField->getNumberOfComponents(), aDataType); if(MYDEBUG) MESSAGE("VISU_MEDFieldConvertor::Build - aMeshName = "<