From 7854e426cc6c2779710190be1fd246b74db3f29a Mon Sep 17 00:00:00 2001 From: Andrew Heather <a.heather@opencfd.co.uk> Date: Fri, 22 Apr 2016 13:13:20 +0100 Subject: [PATCH] BUG: runTimePostProcessing - updated warning message for #99 --- .../functionObjects/graphics/runTimePostProcessing/scene.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/postProcessing/functionObjects/graphics/runTimePostProcessing/scene.C b/src/postProcessing/functionObjects/graphics/runTimePostProcessing/scene.C index 54b6257d829..c96e36566c8 100644 --- a/src/postProcessing/functionObjects/graphics/runTimePostProcessing/scene.C +++ b/src/postProcessing/functionObjects/graphics/runTimePostProcessing/scene.C @@ -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; -- GitLab