From: ouv Date: Fri, 26 Dec 2008 12:27:34 +0000 (+0000) Subject: Fix of the bug IPAL20607 - Crash on Gauss Points for imported field X-Git-Tag: V4_1_0_maintainance_20090206~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0ed24670c66ff4b2b640599f73ce05ff19fba314;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 438fe950..22675855 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,