From: enk Date: Fri, 7 Dec 2007 08:19:52 +0000 (+0000) Subject: Fix for IPAL 17888 X-Git-Tag: V4_1_0rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=43f4ac19a50b4965e92feb8e0b2beecca18074dc;p=modules%2Fvisu.git Fix for IPAL 17888 --- diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index fb2c0db1..5efc19aa 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -902,11 +902,11 @@ VISU_Convertor_impl anOutput = theUnstructuredGridIDMapper->GetUnstructuredGridOutput(); } } - /* - vtkUnstructuredGrid* anOutput = theUnstructuredGridIDMapper->GetUnstructuredGridOutput(); - const VISU::PUnstructuredGrid& aSource = theUnstructuredGridIDMapper->mySource.GetSource(); - VISU::GetTimeStampOnProfile(aSource, theField, theValForTime, theEntity); - */ + if(!isNeedInCells){ + vtkUnstructuredGrid* anOutput = theUnstructuredGridIDMapper->GetUnstructuredGridOutput(); + const VISU::PUnstructuredGrid& aSource = theUnstructuredGridIDMapper->mySource.GetSource(); + VISU::GetTimeStampOnProfile(aSource, theField, theValForTime, theEntity); + } return anOutput; }