Feat: extract exr preview file to be displayed on GUI

This commit is contained in:
harlekin
2023-01-06 14:53:06 +00:00
committed by Sheepit Renderfarm
parent 3cb7b5fc5f
commit 690ad36adb
5 changed files with 48 additions and 11 deletions

View File

@@ -1164,6 +1164,12 @@ import okhttp3.HttpUrl;
frame.delete();
ajob.setOutputImagePath(null);
if (ajob.getPreviewImagePath() != null) {
frame = new File(ajob.getPreviewImagePath());
frame.delete();
ajob.setPreviewImagePath(null);
}
return confirmJobReturnCode;
}