Skip to content

Commit

Permalink
[maya] xformStack: added python wrappers and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmolodo committed Oct 3, 2017
1 parent 00b102e commit 2148a40
Show file tree
Hide file tree
Showing 6 changed files with 1,580 additions and 34 deletions.
13 changes: 13 additions & 0 deletions third_party/maya/lib/usdMaya/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ pxr_shared_library(${PXR_PACKAGE}
wrapRoundTripUtil.cpp
wrapStageCache.cpp
wrapUserTaggedAttribute.cpp
wrapXformStack.cpp

PYTHON_FILES
__init__.py
Expand Down Expand Up @@ -164,6 +165,8 @@ pxr_test_scripts(
testenv/testUsdMayaProxyShape.py
testenv/testUsdMayaReferenceAssemblyEdits.py
testenv/testUsdMayaUserExportedAttributes.py
testenv/testUsdMayaXformStack.py
testenv/testUsdGeomAttributeConverters.py
testenv/testUsdMetadataAttributeConverters.py
testenv/testUsdReferenceAssemblyChangeRepresentations.py
testenv/testUsdReferenceAssemblySelection.py
Expand Down Expand Up @@ -533,3 +536,13 @@ pxr_register_test(testUsdReferenceAssemblySelection
MAYA_DISABLE_CIP=1
)

pxr_register_test(testUsdMayaXformStack
CUSTOM_PYTHON "${MAYA_BASE_DIR}/bin/mayapy"
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdMayaXformStack"
TESTENV testUsdMayaXformStack
ENV
MAYA_PLUG_IN_PATH=${CMAKE_INSTALL_PREFIX}/third_party/maya/plugin
MAYA_SCRIPT_PATH=${CMAKE_INSTALL_PREFIX}/third_party/maya/share/usd/plugins/usdMaya/resources
MAYA_DISABLE_CIP=1
MAYA_APP_DIR=./maya_profile
)
1 change: 1 addition & 0 deletions third_party/maya/lib/usdMaya/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ TF_WRAP_MODULE {
TF_WRAP(RoundTripUtil);
TF_WRAP(StageCache);
TF_WRAP(UserTaggedAttribute);
TF_WRAP(XformStack);
}
Loading

0 comments on commit 2148a40

Please sign in to comment.