-
Notifications
You must be signed in to change notification settings - Fork 202
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
Boudrey/maya 113462/wrapshader #1744
Conversation
Validation for python binding for Shader Reader/Writer.
…tions are not Python friendly so a refactor is required for support.
+ clang-format fixes
…ation and creation functions without doing too much wizardry.
Adding missing last CRLF at end of file. Adding CanImport(...) in testShaderReader
boost::python::object cl, | ||
const TfToken& usdShaderId, | ||
const TfToken& mayaNodeTypeName, | ||
const TfToken& materialConversion) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you took the register function signature of UsdMayaSymmetricShaderReader::Register()
. The default Register function found in UsdMayaShaderReaderRegistry
only requires usdInfoId.
The mayaNodeTypeName and materialConversion are known by the implementation of the reader and does not need to be provided on registration.
boost::python::object cl, | ||
const TfToken& mayaNodeTypeName, | ||
const TfToken& usdShaderId, | ||
const TfToken& materialConversionName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing here. This looks like the signature of UsdMayaSymmetricShaderWriter::Register()
when we want UsdMayaShaderWriterRegistry::Register()
Linux build fix. MaterialX reader available only in recent Maya versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks!
No description provided.