mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
#680 - fixed where to check for Task definition
Modified default profile for StandalonePublisher
This commit is contained in:
parent
5692d570b7
commit
dad17b9184
2 changed files with 3 additions and 6 deletions
|
|
@ -28,8 +28,8 @@ class CollectFtrackFamily(pyblish.api.InstancePlugin):
|
|||
def process(self, instance):
|
||||
if self.profiles:
|
||||
anatomy_data = instance.context.data["anatomyData"]
|
||||
task_name = anatomy_data.get("task",
|
||||
os.environ["AVALON_TASK"])
|
||||
task_name = instance.data("task",
|
||||
instance.context.data["task"])
|
||||
host_name = anatomy_data.get("app",
|
||||
os.environ["AVALON_APP"])
|
||||
family = instance.data["family"]
|
||||
|
|
|
|||
|
|
@ -204,10 +204,7 @@
|
|||
"enabled": true,
|
||||
"profiles": [
|
||||
{
|
||||
"families": [
|
||||
"render",
|
||||
"image"
|
||||
],
|
||||
"families": [],
|
||||
"tasks": [],
|
||||
"hosts": [
|
||||
"standalonepublisher"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue