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

Boudrey/maya 113462/wrapshader #1744

Merged
merged 12 commits into from
Oct 12, 2021
Merged

Boudrey/maya 113462/wrapshader #1744

merged 12 commits into from
Oct 12, 2021

Conversation

boudrey
Copy link
Contributor

@boudrey boudrey commented Oct 7, 2021

No description provided.

boost::python::object cl,
const TfToken& usdShaderId,
const TfToken& mayaNodeTypeName,
const TfToken& materialConversion)
Copy link
Collaborator

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)
Copy link
Collaborator

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.
Copy link
Collaborator

@JGamache-autodesk JGamache-autodesk left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@boudrey boudrey added the ready-for-merge Development process is finished, PR is ready for merge label Oct 12, 2021
@kxl-adsk kxl-adsk merged commit a5f1331 into dev Oct 12, 2021
@kxl-adsk kxl-adsk deleted the boudrey/MAYA-113462/wrapshader branch October 12, 2021 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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