-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maya API - Custom Camera Transform nodes raise an error #123
Comments
…ve transform nodes. Issue #123.
I have changed the mmSolver API to allow custom Maya transform node plug-ins, now. Assuming the custom transform node still uses the standard Maya translate, rotate and scale attributes, I expect any Maya transform plug-in node to work with mmSolver. This will be merged into the master branch as part of #72 and #57. |
It has been reported that this issue is happening again, in v0.3.2. |
The problem in question seems to be due to type checking against the transform node type explicitly. For example:
To effectively fix the bug, and ensure we don't reintroduce the bug, we need to write unit tests for (all?) tools that work with cameras. We will need to create a test transform plug-in, and load it during the unit tests. This is a relatively low priority problem, because workflows exist to work around the problem, and the user base affected is small. |
Fixed the camera utility and API modules. Added tests for camera types, and added general tests for cameras. Issue #123.
Custom transform plug-in nodes will now work for cameras. All the unit tests seem to work. It's still possible there's some The only requirement of a transform node is that it's derived from a transform. It is not possible to derive a custom |
Problem
mmSolver only works with Maya transform and camera nodes. Sub-classed, custom plug-ins will cause an assertion error (because they are untested).
We should attempt to allow all types of transform nodes, even if they are custom plug-ins.
Expected behavior:
If a camera (transform and shape node) are custom (derived API nodes), then we should not error.
Actual behavior:
When loading 2D Marker data onto a camera with custom Maya transform plugin (MPxTransform), we get an assertion error.
Steps to Reproduce
Software Versions
mmSolver version:
v0.2.1
Maya version:
Maya 2018
Operating System (OS):
Linux
The text was updated successfully, but these errors were encountered: