mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
improving the output name with ext and upstream outputName value
This commit is contained in:
parent
d337d3f54c
commit
bf308ebecd
1 changed files with 2 additions and 1 deletions
|
|
@ -247,6 +247,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
os.unlink(f)
|
||||
|
||||
output_name = new_repre.get("outputName", "")
|
||||
output_ext = new_repre["ext"]
|
||||
if output_name:
|
||||
output_name += "_"
|
||||
output_name += output_def["filename_suffix"]
|
||||
|
|
@ -254,7 +255,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
output_name += "_noHandles"
|
||||
|
||||
new_repre.update({
|
||||
"name": output_def["filename_suffix"],
|
||||
"name": "{}_{}".format(output_name, output_ext),
|
||||
"outputName": output_name,
|
||||
"outputDef": output_def,
|
||||
"frameStartFtrack": temp_data["output_frame_start"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue