Add to cleanup files

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Roy Nieterau 2023-08-11 12:27:09 +02:00 committed by GitHub
parent 4049d9acb1
commit f79f0c44da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,5 +46,6 @@ class ExtractActiveViewThumbnail(pyblish.api.InstancePlugin):
image.writeToFile(path, "jpg")
self.log.debug("Generated thumbnail: {}".format(path))
context.data["cleanupFullPaths"].append(path)
context.data[cache_key] = path
return context.data[cache_key]