BUG: runTimePostProcessing - updated warning message for #99

This commit is contained in:
Andrew Heather
2016-04-22 13:13:20 +01:00
parent a592347b91
commit 7854e426cc

View File

@ -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;