From: enk Date: Fri, 8 Dec 2006 13:50:49 +0000 (+0000) Subject: Fix for Bug IPAL13704: X-Git-Tag: V3_2_4~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e635d8a9e9fac32f5a400026f795256b51ad1d43;p=modules%2Fvisu.git Fix for Bug IPAL13704: Crash VISU module on create scalar map presentation --- diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index c0a0833d..d3f33022 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -2562,8 +2562,10 @@ VISU_Convertor_impl aVTKMeshOnEntity = aMeshOnEntityMap[VISU::CELL_ENTITY]; else if(aMeshOnEntityMap.find(VISU::FACE_ENTITY) != aMeshOnEntityMap.end()) aVTKMeshOnEntity = aMeshOnEntityMap[VISU::FACE_ENTITY]; - else if(aMeshOnEntityMap.find(VISU::NODE_ENTITY) != aMeshOnEntityMap.end()) + else if(aMeshOnEntityMap.find(VISU::EDGE_ENTITY) != aMeshOnEntityMap.end()) aVTKMeshOnEntity = aMeshOnEntityMap[VISU::EDGE_ENTITY]; + else if(aMeshOnEntityMap.find(VISU::NODE_ENTITY) != aMeshOnEntityMap.end()) + aVTKMeshOnEntity = aMeshOnEntityMap[VISU::NODE_ENTITY]; }else aVTKMeshOnEntity = aMeshOnEntity;