Skip to content
Snippets Groups Projects
Commit 67232e8c authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: runTimePostProcessing - updated warning message for #99

parent e5986e90
Branches
Tags
1 merge request!33Merge foundation
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd. \\/ M anipulation | Copyright (C) 2015-2016 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
...@@ -348,8 +348,6 @@ bool Foam::scene::loop(vtkRenderer* renderer) ...@@ -348,8 +348,6 @@ bool Foam::scene::loop(vtkRenderer* renderer)
currentFrameI_++; currentFrameI_++;
position_ += dPosition_;
if (position_ > (1 + 0.5*dPosition_)) if (position_ > (1 + 0.5*dPosition_))
{ {
WarningInFunction WarningInFunction
...@@ -357,6 +355,8 @@ bool Foam::scene::loop(vtkRenderer* renderer) ...@@ -357,6 +355,8 @@ bool Foam::scene::loop(vtkRenderer* renderer)
<< endl; << endl;
} }
position_ += dPosition_;
if (currentFrameI_ < nFrameTotal_) if (currentFrameI_ < nFrameTotal_)
{ {
return true; return true;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment