mindbender-studio / config

Pipeline Configuration
MIT License
4 stars 4 forks source link

Warning on save #13

Open tokejepsen opened 6 years ago

tokejepsen commented 6 years ago

Problem

When saving with code a warning appears.

from maya import cmds
cmds.file(rename="temp.ma")
cmds.file(save=True, type="mayaAscii")
# Warning: avalon.pipeline : Traceback (most recent call last):
  File "C:\Users\admin\avalon-docker\volume\git\avalon-core\avalon\pipeline.py", line 558, in emit
    callback(*args)
TypeError: on_save() takes no arguments (1 given)
mottosso commented 6 years ago

This is due to a recent change to Core that doesn't maintain backwards compatibility.