mgear-dev/mgear_core

`switchTo` var is reset inside of method call ui.transfer(...)

ffarhour opened this issue · 0 comments

ui.transfer(startFrame, endFrame, onlyKeyframes, ikRot, switchTo="fk")

The line currently reads as seen above.
But it should be:
ui.transfer(startFrame, endFrame, onlyKeyframes, ikRot, switchTo)

This is because if the execute method is called with the switchTo variable provided, that variable gets reset to ="fk" when ui.transfer is being called.