mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: runTimePostProcessing - corrected handling of position in scene.C - fixes #99
This commit is contained in:
@ -348,7 +348,14 @@ bool Foam::scene::loop(vtkRenderer* renderer)
|
|||||||
|
|
||||||
currentFrameI_++;
|
currentFrameI_++;
|
||||||
|
|
||||||
position_ += currentFrameI_*dPosition_;
|
position_ += dPosition_;
|
||||||
|
|
||||||
|
if (position_ > (1 + 0.5*dPosition_))
|
||||||
|
{
|
||||||
|
WarningInFunction
|
||||||
|
<< "Current position exceeded 1 - please check your setup"
|
||||||
|
<< endl;
|
||||||
|
}
|
||||||
|
|
||||||
if (currentFrameI_ < nFrameTotal_)
|
if (currentFrameI_ < nFrameTotal_)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user