-
Notifications
You must be signed in to change notification settings - Fork 53
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
Rename Ogre2IgnHlmsCustomizations to Ogre2IgnHlmsSphericalClipMinDistance #534
Conversation
to Ogre2IgnHlmsSphericalClipMinDistance Signed-off-by: Matias N. Goldberg <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #534 +/- ##
==========================================
- Coverage 53.39% 53.38% -0.01%
==========================================
Files 211 211
Lines 20817 20818 +1
==========================================
- Hits 11115 11114 -1
- Misses 9702 9704 +2
Continue to review full report at Codecov.
|
Fix deprecation warnings Signed-off-by: Matias N. Goldberg <[email protected]>
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 good to me. Just one minor comment on updating the migration guide.
@@ -175,9 +175,13 @@ namespace ignition | |||
/// \return a list of FSAA levels | |||
public: std::vector<unsigned int> FSAALevels() const; | |||
|
|||
/// \brief Deprecated. Use SphericalClipMinDistance instead | |||
public: Ogre2IgnHlmsSphericalClipMinDistance IGN_DEPRECATED(7) & |
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.
can you add an entry to the Migration.md guide?
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.
I'll add this in a separate PR
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.
Summary
This is part of ticket #502
In order to split the amount of changes into maneagable, reviewable changes; the changes are being submitted in 3 PRs.
This is the 2nd PR.
It simply renames Ogre2IgnHlmsCustomizations to Ogre2IgnHlmsSphericalClipMinDistance.
The reason behind this is that customizations are now being managed by Ogre2IgnHlmsPbs & Ogre2IgnHlmsUnlit.
Since Ogre2IgnHlmsCustomizations is doing just one job but has a generic name, it would tend to confusion as to what it does and its role.
The class isn't exposed to the user; however
Ogre2RenderEngine::HlmsCustomizations
did expose a forward declared pointer to the user; which is why the function still exists but has been marked as deprecated.Signed-off-by: Matias N. Goldberg [email protected]
🦟 Bug fix
Affects #502
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.