Skip to content

Conversation

davidsminor
Copy link
Contributor

Of course if the CurvesPrimitive has more than one curve in it, this doesn't quite work... I've addressed this by adding a curveIndex parameter which defaults to zero, so if your input only has one curve it should just work, otherwise you can just manually loop over all the curves and convert each one.

@andrewkaufman
Copy link
Member

I mainly have nitpicky comments. Some of the copyright dates are wrong (should only be 2013 I presume). Also, can you add a doc comment on the class explaining that it only converts one curve out of the given primitive? Seeing as that's the case, maybe it would be better to match FromMayaCurveConverter with ToMayaCurveConverter (singular)?

@davidsminor
Copy link
Contributor Author

just renamed it ToMayaCurveConverter, and hopefully picked most of the nits....

johnhaddon added a commit that referenced this pull request Dec 20, 2013
@johnhaddon johnhaddon merged commit 31de945 into ImageEngine:master Dec 20, 2013
@davidsminor davidsminor deleted the toMayaCurvesConverter branch July 16, 2014 16:41
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