NavStars.cpp   NavStars.cpp 
skipping to change at line 179 skipping to change at line 179
{ {
if (stars[i].isNull()) if (stars[i].isNull())
continue; continue;
// Get the current position of the navigational star... // Get the current position of the navigational star...
if (prj->projectCheck(stars[i]->getJ2000EquatorialPos(core), pos)) if (prj->projectCheck(stars[i]->getJ2000EquatorialPos(core), pos))
{ {
// ... and draw a marker around it // ... and draw a marker around it
if (!markerTexture.isNull()) if (!markerTexture.isNull())
{ {
glEnable(GL_BLEND); painter.setBlending(true);
painter.enableTexture2d(true);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_A
LPHA);
painter.setColor(markerColor[0], markerColor [1], markerColor[2], markerFader.getInterstate()); painter.setColor(markerColor[0], markerColor [1], markerColor[2], markerFader.getInterstate());
markerTexture->bind(); markerTexture->bind();
painter.drawSprite2dMode(pos[0], pos[1], 11. f); painter.drawSprite2dMode(pos[0], pos[1], 11. f);
} }
// Draw the localized name of the star and its ordin al number // Draw the localized name of the star and its ordin al number
QString label = stars[i]->getNameI18n(); QString label = stars[i]->getNameI18n();
if (label.isEmpty()) if (label.isEmpty())
label = QString("%1").arg(i+1); label = QString("%1").arg(i+1);
else else
 End of changes. 1 change blocks. 
4 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/