diff --git a/src/postProcessing/functionObjects/graphics/runTimePostProcessing/scene.C b/src/postProcessing/functionObjects/graphics/runTimePostProcessing/scene.C index 3ceace9695..54b6257d82 100644 --- a/src/postProcessing/functionObjects/graphics/runTimePostProcessing/scene.C +++ b/src/postProcessing/functionObjects/graphics/runTimePostProcessing/scene.C @@ -348,7 +348,14 @@ bool Foam::scene::loop(vtkRenderer* renderer) 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_) {