Python API 2 MPxNode stops evaluating when adding keyframe to input transforms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am writing an MPxNode in Python API 2 to implement a custom IK solver - My setup is Windows 10, Maya 2019
I take an input world matrix of a locator used as an end effector and calculates output angles.
This works nicely when I am simply moving the locator around in the viewport. However, as soon as I add a keyframe to the locator and scrub in the timeline, my node no longer evaluates.
This issue happens both for Evaluation Mode: "Parallel" and "Serial", but works correctly in "DG"
While the solution might be to simply use DG evaluation mode, my workflow would be significantly impacted by not having cached playback, so I would love to find a workaround.
Can anyone think of why this may happen and how to fix it or investigate further?
Cheers and thanks in advance