From e635d8a9e9fac32f5a400026f795256b51ad1d43 Mon Sep 17 00:00:00 2001 From: enk Date: Fri, 8 Dec 2006 13:50:49 +0000 Subject: [PATCH] Fix for Bug IPAL13704: Crash VISU module on create scalar map presentation --- src/CONVERTOR/VISU_Convertor_impl.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.2