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

fixed unused-but-set-variable on compiling with Maya 2018 earlier than 2018.7 #699

Merged

Conversation

kremersa
Copy link
Contributor

@kremersa kremersa commented Aug 5, 2020

fixed unused-but-set-variable on compiling with Maya 2018 earlier than 2018.7

@kremersa kremersa changed the title fixed unused-but-set-variable on compiling with Maya 2018 ealrer than 2018.7 fixed unused-but-set-variable on compiling with Maya 2018 earlier than 2018.7 Aug 5, 2020
@kxl-adsk kxl-adsk requested a review from huidong-chen August 5, 2020 18:38
Copy link

@huidong-chen huidong-chen left a comment

Choose a reason for hiding this comment

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

Please duplicate the line to the other conditional compilation branch after Line 738:

#elif MAYA_API_VERSION >= 20190000

It might look better to change the for expression to:

for (auto rit = mat.nodes.rbegin(), const auto rend = mat.nodes.rend(); rit != rend; rit++) {

@kremersa kremersa requested a review from huidong-chen August 5, 2020 19:07
@kxl-adsk kxl-adsk added build Related to building maya-usd repository vp2renderdelegate Related to VP2RenderDelegate labels Aug 6, 2020
@kxl-adsk kxl-adsk requested a review from huidong-chen August 6, 2020 21:20
@kxl-adsk
Copy link

kxl-adsk commented Aug 7, 2020

@kremersa I can't find signed CLA by you - did you send us one? Please refer to https://github.com/Autodesk/maya-usd/blob/dev/doc/CONTRIBUTING.md in case you have questions.

@kremersa
Copy link
Contributor Author

kremersa commented Aug 7, 2020

@kxl-adsk I just signed and emailed it. Thanks for checking

@kxl-adsk
Copy link

kxl-adsk commented Aug 7, 2020

We got it. Thank you.

@kxl-adsk kxl-adsk merged commit 99f14fe into Autodesk:dev Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to building maya-usd repository vp2renderdelegate Related to VP2RenderDelegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants