Skip to content
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

move pxrUsdStageNode and pxrUsdPointBasedDeformerNode registration to mayaUsd core #825

Conversation

mattyjams
Copy link
Contributor

This actually fixes a breakage when using just the mayaUsdPlugin. The useAsAnimationCache arg for import is part of the base import command, but the pxrUsdStageNode and pxrUsdPointBasedDeformerNode nodes were only being registered with the pxrUsd plugin. This means that attempting to use the useAsAnimationCache with cmds.mayaUSDImport() would fail if pxrUsd was not loaded. That is fixed be 14acc4c.

The other commits migrate the test for the point-based deformer as well as for typeless def translation from plugin/pxr/... to test/....

… mayaUsd core

These nodes are created when the "useAsAnimationCache" import arg is used. The
import arg is built into the base import command, so the nodes must be
registered and de-registered in the core, otherwise imports that use the arg
will fail.
This clears the way for a MAYAUSD_NODES_TEST target in test/lib/mayaUsd/nodes.
…ib/mayaUsd/nodes/...

This change moves the unit test for the pxrUsdPointBasedDeformerNode in
lib/mayaUsd/nodes from usdMaya in the Pixar plugin area to test/... A new
directory was created for these node-specific tests.
@kxl-adsk kxl-adsk added the unit test Related to unit tests (both python or c++) label Oct 13, 2020
@kxl-adsk kxl-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Oct 14, 2020
@kxl-adsk kxl-adsk merged commit 3faad73 into Autodesk:dev Oct 14, 2020
@mattyjams mattyjams deleted the pr/move_stage_and_deformer_nodes_to_core_and_move_tests branch October 14, 2020 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge unit test Related to unit tests (both python or c++)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants