Merged in Aardschok/config/0001 (pull request #2)

fixed bug in collect_current_file
This commit is contained in:
Wijnand Koreman 2017-06-26 12:37:25 +00:00 committed by Roy Nieterau
commit 038ca03318

View file

@ -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