State:Closed|icon_bug|icon_modo|database:public|Resolution:Fixed|TargetRelease:Modo14.0v1|BugID:366901|
Problem summary
envelope.keyframes.setSlopeType() function fails with TypeError. When running setSlopeType() Modo executes self._keyframe.SetSlope(stype), which then errors with TypeError: functiontakes exactly 2 arguments (1 given).
Customer reported version
modo.n/a
Customer reported platform
windows10
Steps to reproduce
1) Open Modo.
2) Select File>open and open the attached scene.
3) Select the scripting layout. Copy and paste the attached script into the script editor.
4) Right click the script editor and select "run"
Result:
Traceback (most recent call last):
File "<string>", line 11, in <module>
File "F:\Modo121v2\extra\Python\modules\modo\channel.py", line 456, in setSlopeType
self._keyframe.SetSlope(stype)
TypeError: function takes exactly 2 arguments (1 given)
We're sorry to hear that
Please tell us why