-
-
Notifications
You must be signed in to change notification settings - Fork 875
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
Use hips_frame and type to determine planet #4170
Conversation
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
@@ -61,7 +61,7 @@ class HipsSurvey : public QObject | |||
//! Create a new HipsSurvey from its url. | |||
//! @param url The location of the survey. | |||
//! @param releaseDate If known the UTC JD release date of the survey. Used for cache busting. |
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.
param type must be explained here.
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.
Fixed.
a1ea3b2
to
8633cc0
Compare
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.
Thanks!
Hello @10110111! Please check the fresh version (development snapshot) of Stellarium: |
Hello @10110111! Please check the latest stable version of Stellarium: |
Description
The current way of determining planet—by reading the filename of survey's URL—is quite hacky and doesn't let one find other survey components related to the same planet, e.g. the normal map. At the same time, all the planet HiPS currently available have properties that determine them as planetary, which planet they are for, and what type of map they represent.
So this PR uses these properties to determine planet.
Checklist: