mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
change workfile subset naming in nuke to match other hosts
This commit is contained in:
parent
fb915f2366
commit
2017d2315a
1 changed files with 2 additions and 1 deletions
|
|
@ -23,11 +23,12 @@ class CollectWorkfile(pyblish.api.ContextPlugin):
|
|||
add_publish_knob(root)
|
||||
|
||||
family = "workfile"
|
||||
task = os.getenv("AVALON_TASK", None)
|
||||
# creating instances per write node
|
||||
file_path = context.data["currentFile"]
|
||||
staging_dir = os.path.dirname(file_path)
|
||||
base_name = os.path.basename(file_path)
|
||||
subset = "{0}_{1}".format(os.getenv("AVALON_TASK", None), family)
|
||||
subset = family + task.capitalize()
|
||||
|
||||
# Get frame range
|
||||
first_frame = int(root["first_frame"].getValue())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue