From 0ed24670c66ff4b2b640599f73ce05ff19fba314 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 26 Dec 2008 12:27:34 +0000 Subject: [PATCH] Fix of the bug IPAL20607 - Crash on Gauss Points for imported field --- src/VISU_I/VISU_GaussPoints_i.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 2.39.2