Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into main
  • Loading branch information
leanfried committed Apr 23, 2021
2 parents c012a56 + d55c040 commit dbc9e83
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 dbc9e83

Please sign in to comment.