From d55c0406756b2d7655f9242d61f7b74905595bea Mon Sep 17 00:00:00 2001 From: Leanne Friedrich Date: Thu, 22 Apr 2021 16:30:51 -0400 Subject: [PATCH] Update paraview_screenshots.py --- paraviewscripts/paraview_screenshots.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/paraviewscripts/paraview_screenshots.py b/paraviewscripts/paraview_screenshots.py index 1df31e6..3f7b5da 100644 --- a/paraviewscripts/paraview_screenshots.py +++ b/paraviewscripts/paraview_screenshots.py @@ -757,10 +757,7 @@ def runThrough(v:ssVars, sv:stateVars) -> None: logging.error(f'Create image exception in {sv.folder}: {e}') return sv - if tlist2[0]==sv.times[-1]: - setTime(sv.times[0]/10, sv) # for some reason we need to set this twice, or it will position the imagewrong - else: - setTime(sv.times[-1]/10, sv) # for some reason we need to set this twice, or it will position the imagewrong + setTime(sv.times[-1]/10, sv) # for some reason we need to set this twice, or it will position the imagewrong # iterate through times and take snapshots of the surfaces