mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merged in Aardschok/config/0001 (pull request #2)
fixed bug in collect_current_file
This commit is contained in:
commit
038ca03318
1 changed files with 1 additions and 1 deletions
|
|
@ -15,4 +15,4 @@ class CollectMayaCurrentFile(pyblish.api.ContextPlugin):
|
|||
def process(self, context):
|
||||
"""Inject the current working file"""
|
||||
current_file = cmds.file(query=True, sceneName=True)
|
||||
context.data['currentFile'] = os.path.normpath(current_file)
|
||||
context.data['currentFile'] = current_file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue