Skip to content

Commit

Permalink
BUG: Fixed issue where image files would be deleted for image sequenc…
Browse files Browse the repository at this point in the history
…e capture.
  • Loading branch information
hherhold authored and lassoan committed May 14, 2020
1 parent 829bbe1 commit 8207a3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modules/Scripted/ScreenCapture/ScreenCapture.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,8 @@ def onCaptureButton(self):
self.logic.createLightboxImage(int(self.lightboxColumnCountSliderWidget.value),
outputDir, imageFileNamePattern, numberOfSteps, self.lightboxImageFileNameWidget.text)
finally:
self.logic.deleteTemporaryFiles(outputDir, imageFileNamePattern, numberOfSteps)
if not self.outputTypeWidget.currentText == "image series":
self.logic.deleteTemporaryFiles(outputDir, imageFileNamePattern, numberOfSteps)

self.addLog("Done.")
self.createdOutputFile = os.path.join(outputDir, self.videoFileNameWidget.text) if videoOutputRequested else outputDir
Expand Down

0 comments on commit 8207a3c

Please sign in to comment.