mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merge branch 'sync-avalon'
This commit is contained in:
commit
7bd49bfd4e
1 changed files with 10 additions and 10 deletions
|
|
@ -34,22 +34,22 @@ class CollectDeadlineUser(pyblish.api.ContextPlugin):
|
|||
|
||||
order = pyblish.api.CollectorOrder + 0.499
|
||||
label = "Deadline User"
|
||||
<<<<<<< HEAD
|
||||
hosts = ['maya', 'fusion']
|
||||
families = ["studio.renderlayer", "studio.saver.deadline"]
|
||||
=======
|
||||
|
||||
hosts = ['maya', 'fusion', 'nuke']
|
||||
families = [
|
||||
"renderlayer",
|
||||
"saver.deadline",
|
||||
"imagesequence"
|
||||
"studio.renderlayer",
|
||||
"studio.saver.deadline",
|
||||
"studio.imagesequence"
|
||||
]
|
||||
>>>>>>> origin/ftrack-all-jakub
|
||||
|
||||
|
||||
def process(self, context):
|
||||
"""Inject the current working file"""
|
||||
|
||||
user = deadline_command("GetCurrentUserName").strip()
|
||||
user = None
|
||||
try:
|
||||
user = deadline_command("GetCurrentUserName").strip()
|
||||
except:
|
||||
self.log.warning("Deadline command seems not to be working")
|
||||
|
||||
if not user:
|
||||
self.log.warning("No Deadline user found. "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue