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

MAYA-111503 - Fix GeomNurbsCurve import #1654

Merged
merged 3 commits into from
Aug 26, 2021

Conversation

JGamache-autodesk
Copy link
Collaborator

Will help with #1397 but does not implement GeomBasisCurves import.

Will help with #1397 but does not implement GeomBasisCurves import.
// Remove front and back knots to match Maya representation. See
// "Managing different knot representations in external applications"
// section in MFnNurbsCurve documentation.
curveKnots.resize(curveKnots.size() - 1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should a size of at least 2 elements be checked before?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would happen only with a broken USD file, but it is indeed better if the code can survive that.

@JGamache-autodesk JGamache-autodesk added the ready-for-merge Development process is finished, PR is ready for merge label Aug 26, 2021
@seando-adsk seando-adsk merged commit 75a7189 into dev Aug 26, 2021
@seando-adsk seando-adsk deleted the t_gamaj/MAYA-111503/import_nurbs branch August 26, 2021 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import-export Related to Import and/or Export ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants