-
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
Address remaning feedbacks for lib/mayaUsd #407
Address remaning feedbacks for lib/mayaUsd #407
Conversation
- fix conditional orders - fix unnecessary promotion of private headers - fix "" vs <> for a few public header - fix grouping/sorting
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.
The changes here look good to me!
Just noted one thing, and then I think there are a handful of things for lib/mayaUsd
still left from my last review of #391. I went through that list and resolved everything that was addressed.
Thanks @HamedSabri-adsk!
@mattyjams see 1439d2e . shaderFragments.h is indeed a private header and doesn't have to be promoted. |
Sorry @HamedSabri-adsk! You actually had this right already. Since we have a cpp file in |
Hey @mattyjams , no worries but I still agree with your original comment that shaderFragments.h is a private header. Here is why: vp2ShaderFragments is not really a target and rather just a sub-directory in mayaUsd echo system. shaderFragments.h is only used inside mayaUsd target ( e.g mayaUsd\nodes\proxyShapePlugin.cpp ) and doesn't really have to be promoted in order to be used. mayaUsd/nodes is not also a target and rather another sub-directory in mayaUsd echo system. |
Heh, in that case, I retract my original comment (#390 (comment)). :) In #390, I had thought that we were mistakenly promoting Having a cpp file in As it stands right now, we're violating our coding guidelines in how we include the header: And we also have to add |
@mattyjams I am happy to revert the change for the sake of unblocking us and we can discuss this in future PRs. I hope this helps. |
…ted." This reverts commit 1439d2e.
@mattyjams see 5d3e007. I believe this concludes all I wanted to cover in this PR and hopefully didn't muddy the water. |
* HYDRA-336: add version as parameter * HYDRA-336: add version as parameter * HYDRA-336: add constant num data source entries * HYDRA-336: remove hardcoded num entries * HYDRA-336: replace with static assert * HYDRA-336: replace with static assert
Hi @elrond79 and @mattyjams ,
First of all thank you for your patience, detailed and thoughtful feedback, and very generous comments. It is really appreciated.
As you have noticed, I've merged PR 5,4,3,2 to 1 to make it easier to see where things are with all these new changes.
I am now creating 2 small PRs (one for lib/mayaUsd and one for lib/usd) to address the renaming issues that were brought up in previous PRs review.
The changes are not that many and hopefully this should get us closer to the finishing line:
Changes in this PR :
NOTE: @mattyjams I didn't address your concern around shaderFragments.h in this PR since it requires a little bit of change. I totally agree with your comment and will have it fixed once this big PR goes in.