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

BUG: runTimePostProcessing - updated warning message for #99

parent a592347b
Branches
Tags
No related merge requests found
......@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
\\/ M anipulation | Copyright (C) 2015-2016 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -348,8 +348,6 @@ bool Foam::scene::loop(vtkRenderer* renderer)
currentFrameI_++;
position_ += dPosition_;
if (position_ > (1 + 0.5*dPosition_))
{
WarningInFunction
......@@ -357,6 +355,8 @@ bool Foam::scene::loop(vtkRenderer* renderer)
<< endl;
}
position_ += dPosition_;
if (currentFrameI_ < nFrameTotal_)
{
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