Skip to content

Commit

Permalink
Update paraview_screenshots.py
Browse files Browse the repository at this point in the history
  • Loading branch information
leanfried committed Apr 22, 2021
1 parent fab0446 commit d55c040
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions paraviewscripts/paraview_screenshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d55c040

Please sign in to comment.