From b6277cb285be0d50f9126fd26b72bb86bfff10df Mon Sep 17 00:00:00 2001 From: Matti Pellika <matti.pellikka@tut.fi> Date: Fri, 22 Oct 2010 11:36:01 +0000 Subject: [PATCH] Some structure to riemann. AND a hotfix to Post/PViewDataGModelIO.cpp which was saving NodeData with negative MVertex indices in .msh files. --- Post/PViewDataGModelIO.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Post/PViewDataGModelIO.cpp b/Post/PViewDataGModelIO.cpp index 9e8526776e..f810594f90 100644 --- a/Post/PViewDataGModelIO.cpp +++ b/Post/PViewDataGModelIO.cpp @@ -174,6 +174,7 @@ bool PViewDataGModel::writeMSH(std::string fileName, bool binary) return false; } int num = v->getIndex(); + if(num < 0) num = 0; if(binary){ fwrite(&num, sizeof(int), 1, fp); fwrite(_steps[step]->getData(i), sizeof(double), numComp, fp); -- GitLab