From 0583e024aa138eb825a107e20812d39da8664e64 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 22 May 2011 15:40:37 +0000 Subject: [PATCH] smooth() did not copy time values - fixed --- Post/PViewDataGModel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Post/PViewDataGModel.cpp b/Post/PViewDataGModel.cpp index 65c305c83d..35622352eb 100644 --- a/Post/PViewDataGModel.cpp +++ b/Post/PViewDataGModel.cpp @@ -609,7 +609,8 @@ void PViewDataGModel::smooth() GModel *m = _steps[step]->getModel(); int numComp = _steps[step]->getNumComponents(); _steps2.push_back(new stepData<double>(m, numComp, _steps[step]->getFileName(), - _steps[step]->getFileIndex())); + _steps[step]->getFileIndex(), + _steps[step]->getTime())); std::map<int, int> nodeConnect; for(int ent = 0; ent < getNumEntities(step); ent++){ for(int ele = 0; ele < getNumElements(step, ent); ele++){ -- GitLab