mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
global: preparation for settings attribute
This commit is contained in:
parent
74934a51b9
commit
737edadfd5
1 changed files with 6 additions and 1 deletions
|
|
@ -36,6 +36,8 @@ class CollectAudio(pyblish.api.InstancePlugin):
|
|||
"unreal"
|
||||
]
|
||||
|
||||
audio_subset_name = "audioMain"
|
||||
|
||||
def process(self, instance):
|
||||
# * Add audio to instance if exists.
|
||||
self.log.info('Collecting Audio Data')
|
||||
|
|
@ -45,7 +47,10 @@ class CollectAudio(pyblish.api.InstancePlugin):
|
|||
|
||||
# Find latest versions document
|
||||
last_version_doc = get_last_version_by_subset_name(
|
||||
project_name, "audioMain", asset_name=asset_name, fields=["_id"]
|
||||
project_name,
|
||||
self.audio_subset_name,
|
||||
asset_name=asset_name,
|
||||
fields=["_id"]
|
||||
)
|
||||
|
||||
repre_doc = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue