-
-
Notifications
You must be signed in to change notification settings - Fork 849
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
Simplify gridline intersect callbacks #3792
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. |
d8a6060
to
1a6dd19
Compare
What is |
lon/lat (longitude/latitude) seem to be the interface points of screen intersection (?) in general spherical names. I have not gone further today, but at least in the equatorial grid they seem not to be required. Or I am missing something important. |
OK, all tests from my side are passed |
Brr, and I just discovered errors. Switch to decimal degrees! Not sure what's happening. |
Oops... hour angle should be always in hours - this bug exists in the current release too |
Not necessarily. It's really user's choice. See SHA for navigators. |
Coordinates in infobox and in grids should be consistent |
Add some debug info.
- it was possible to remove a full branch! - Fixed HA in lower culmination sometimes still toggles 12/0h :-(
- All trouble around a tiny little -8e-15 artifact!
please test with all grids and settings (decimal numbers etc.) |
Hour angles should be measured in hours by definition, not in degrees P.S. Of course in the current master I see same problem and this is bug IMHO |
Do you mean decimal hours? I am not aware of any use for that. Navigators and maybe others (surveyors?) may prefer decimal degrees for hour angles. This branch/fix should however only change the previous behaviour of a spurious 0 for 12h/180°. Given the simplifications, I hope I did not break other grids now. (I guess a lot of bloat was to mitigate the original problem) |
Hello @gzotti! Please check the fresh version (development snapshot) of Stellarium: |
Hello @gzotti! Please check the latest stable version of Stellarium: |
Description
Issue #3688 describes a tiny problem in the gridline manager's labeling of equatorial coordinates.
I tried to fix and saw quite a bit of elaborate code was not even required. Or was it?
During development of this branch I will try to remove that possible bloat code also for the other grids.
Fixes #3688 (issue)
Screenshots (if appropriate):
see #3688
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: