mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Ensure unique extraction.
This commit is contained in:
parent
03c6fab3ea
commit
b3e8fb2c17
1 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ class ExtractGPUCache(publish.Extractor):
|
|||
|
||||
def process(self, instance):
|
||||
staging_dir = self.staging_dir(instance)
|
||||
filename = "{}.abc".format(instance.name)
|
||||
filename = "{}_gpu_cache".format(instance.name)
|
||||
|
||||
# Write out GPU cache file.
|
||||
kwargs = {
|
||||
|
|
@ -51,9 +51,9 @@ class ExtractGPUCache(publish.Extractor):
|
|||
representation = {
|
||||
"name": "gpu_cache",
|
||||
"ext": "abc",
|
||||
"files": filename,
|
||||
"files": filename + ".abc",
|
||||
"stagingDir": staging_dir,
|
||||
"outputName": "gpu_cache"
|
||||
#"outputName": "gpu_cache"
|
||||
}
|
||||
|
||||
instance.data["representations"].append(representation)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue