mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixed bug in collect_current_file
This commit is contained in:
parent
47c60ed1d3
commit
f2a39d5c12
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