From: ouv Date: Fri, 26 Dec 2008 12:28:26 +0000 (+0000) Subject: Fix of the bug IPAL20607 - Crash on Gauss Points for imported field X-Git-Tag: before_mergefrom_BR_V5_IMP_P8_22Jan09~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ee5c69dcfb8a6b5962126b2f17a5707f1473d9cd;p=modules%2Fvisu.git Fix of the bug IPAL20607 - Crash on Gauss Points for imported field --- diff --git a/src/VISU_I/VISU_GaussPoints_i.cc b/src/VISU_I/VISU_GaussPoints_i.cc index cc463658..9ba0d76a 100644 --- a/src/VISU_I/VISU_GaussPoints_i.cc +++ b/src/VISU_I/VISU_GaussPoints_i.cc @@ -37,7 +37,7 @@ #include "VISU_ScalarBarCtrl.hxx" #include #include "VISU_LookupTable.hxx" -#include "VISU_Convertor.hxx" +#include "VISU_MedConvertor.hxx" #include "SUIT_ResourceMgr.h" @@ -77,6 +77,8 @@ VISU::GaussPoints_i theEntity, theFieldName, theTimeStampNumber); + if(!dynamic_cast(anInput.get())) + return aResult; size_t aSize = anInput->GetTimeStampOnGaussPtsSize(theMeshName, VISU::TEntity(theEntity), theFieldName,