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

reintroduce migrated UsdMaya Python bindings back into the pxr.UsdMaya namespace #199

Conversation

mattyjams
Copy link
Contributor

Pull request #154 relocates a bunch of Python bindings from pxr.UsdMaya to mayaUsd.lib. To ease the transition for Python code that uses the bindings from the old package namespace, this change reintroduces the migrated names back into the pxr.UsdMaya namespace by importing them from mayaUsd.lib. It is wrapped in a try/except so that it will work both before and after PR #154 is merged.

…a namespace

Pull request Autodesk#154 relocates a bunch of Python bindings from pxr.UsdMaya to
mayaUsd.lib. To ease the transition for Python code that uses the bindings from
the old package namespace, this change reintroduces the migrated names back
into the pxr.UsdMaya namespace by importing them from mayaUsd.lib. It is
wrapped in a try/except so that it will work both before and after PR Autodesk#154 is
merged.
@kxl-adsk kxl-adsk requested a review from ppt-adsk January 14, 2020 01:01
@kxl-adsk
Copy link

This makes sense. Thank you, Matt.

@kxl-adsk kxl-adsk merged commit a2dbd1e into Autodesk:dev Jan 14, 2020
@mattyjams mattyjams deleted the pr/reintroduce_Python_UsdMaya_names_from_mayaUsd branch January 14, 2020 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants