mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
#1894 - adds host to template_name_profiles for filtering
This commit is contained in:
parent
af4237d80a
commit
66fbe78b5a
2 changed files with 9 additions and 1 deletions
|
|
@ -300,7 +300,9 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
|
|||
task_name = io.Session.get("AVALON_TASK")
|
||||
family = self.main_family_from_instance(instance)
|
||||
|
||||
key_values = {"families": family, "tasks": task_name}
|
||||
key_values = {"families": family,
|
||||
"tasks": task_name,
|
||||
"hosts": instance.data["anatomyData"]["app"]}
|
||||
profile = filter_profiles(self.template_name_profiles, key_values,
|
||||
logger=self.log)
|
||||
|
||||
|
|
|
|||
|
|
@ -496,6 +496,12 @@
|
|||
"type": "list",
|
||||
"object_type": "text"
|
||||
},
|
||||
{
|
||||
"type": "hosts-enum",
|
||||
"key": "hosts",
|
||||
"label": "Hosts",
|
||||
"multiselection": true
|
||||
},
|
||||
{
|
||||
"key": "tasks",
|
||||
"label": "Task names",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue