Satellite hints in the wrong color

Bug #1286581 reported by Bogdan Marinov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
Bogdan Marinov

Bug Description

Satellite hints were supposed to be drawn with the same colors as their orbits. At the moment, though, there are satellites that are displayed in the wrong color, such as the ISS hint in the default colors while its trail is white, and another satellite in green while its trail is white. I don't know if the problem is in the satellite catalog or the code.

I'm also getting a lot of "QColor::setRgb: RGB parameters out of range" messages in the log, but it may be unrelated.

Tags: satellites

Related branches

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

Apparently, it _was_ related - both the error messages and the problem seem to have been caused by the use of glColor4f(). I've replaced it to a call to StelPainter::setColor() with the same parameters and it seems to work the same, but without the errors.

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

A fix has been committed as revision 6621 of the trunk branch of Stellarium's Bazaar repository at Launchpad:
http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/6621

Changed in stellarium:
status: In Progress → Fix Committed
Changed in stellarium:
milestone: none → 0.13.0
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.