mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34: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):
|
def process(self, instance):
|
||||||
if self.profiles:
|
if self.profiles:
|
||||||
anatomy_data = instance.context.data["anatomyData"]
|
anatomy_data = instance.context.data["anatomyData"]
|
||||||
task_name = anatomy_data.get("task",
|
task_name = instance.data("task",
|
||||||
os.environ["AVALON_TASK"])
|
instance.context.data["task"])
|
||||||
host_name = anatomy_data.get("app",
|
host_name = anatomy_data.get("app",
|
||||||
os.environ["AVALON_APP"])
|
os.environ["AVALON_APP"])
|
||||||
family = instance.data["family"]
|
family = instance.data["family"]
|
||||||
|
|
|
||||||
|
|
@ -204,10 +204,7 @@
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"profiles": [
|
"profiles": [
|
||||||
{
|
{
|
||||||
"families": [
|
"families": [],
|
||||||
"render",
|
|
||||||
"image"
|
|
||||||
],
|
|
||||||
"tasks": [],
|
"tasks": [],
|
||||||
"hosts": [
|
"hosts": [
|
||||||
"standalonepublisher"
|
"standalonepublisher"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue