]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for IPAL 17888
authorenk <enk@opencascade.com>
Fri, 7 Dec 2007 08:19:52 +0000 (08:19 +0000)
committerenk <enk@opencascade.com>
Fri, 7 Dec 2007 08:19:52 +0000 (08:19 +0000)
src/CONVERTOR/VISU_Convertor_impl.cxx

index fb2c0db1bb0cbcf52c89763ee86d85b243bca8de..5efc19aa3fd4ecd0b6dd3840303c9aff8ca34870 100644 (file)
@@ -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;
 }