fixed bug in collect_current_file

This commit is contained in:
aardschok 2017-06-23 18:08:24 +02:00
parent 47c60ed1d3
commit f2a39d5c12

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