CustomObject.cpp   CustomObject.cpp 
skipping to change at line 121 skipping to change at line 121
} }
void CustomObject::draw(StelCore* core, StelPainter *painter) void CustomObject::draw(StelCore* core, StelPainter *painter)
{ {
Q_UNUSED(core); Q_UNUSED(core);
Vec3d win; Vec3d win;
// Check visibility of custom object // Check visibility of custom object
if (!(painter->getProjector()->projectCheck(XYZ, win))) if (!(painter->getProjector()->projectCheck(XYZ, win)))
return; return;
glEnable(GL_BLEND); painter->setBlending(true, GL_ONE, GL_ONE);
glBlendFunc(GL_ONE, GL_ONE);
painter->setColor(markerColor[0], markerColor[1], markerColor[2], 1. f); painter->setColor(markerColor[0], markerColor[1], markerColor[2], 1. f);
if (isMarker) if (isMarker)
{ {
markerTexture->bind(); markerTexture->bind();
float size = getAngularSize(NULL)*M_PI/180.*painter->getProj ector()->getPixelPerRadAtCenter(); float size = getAngularSize(NULL)*M_PI/180.*painter->getProj ector()->getPixelPerRadAtCenter();
float shift = markerSize + size/1.6f; float shift = markerSize + size/1.6f;
painter->drawSprite2dMode(XYZ, markerSize); painter->drawSprite2dMode(XYZ, markerSize);
 End of changes. 1 change blocks. 
2 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/