MeteorShowers.cpp   MeteorShowers.cpp 
skipping to change at line 366 skipping to change at line 366
painter.drawSprite2dMode(screenpos[0]-size/2, screenpos[1]-s ize/2, 10.f, 90); painter.drawSprite2dMode(screenpos[0]-size/2, screenpos[1]-s ize/2, 10.f, 90);
painter.drawSprite2dMode(screenpos[0]-size/2, screenpos[1]+s ize/2, 10.f, 0); painter.drawSprite2dMode(screenpos[0]-size/2, screenpos[1]+s ize/2, 10.f, 0);
painter.drawSprite2dMode(screenpos[0]+size/2, screenpos[1]+s ize/2, 10.f, -90); painter.drawSprite2dMode(screenpos[0]+size/2, screenpos[1]+s ize/2, 10.f, -90);
painter.drawSprite2dMode(screenpos[0]+size/2, screenpos[1]-s ize/2, 10.f, -180); painter.drawSprite2dMode(screenpos[0]+size/2, screenpos[1]-s ize/2, 10.f, -180);
painter.setColor(1,1,1,0); painter.setColor(1,1,1,0);
} }
} }
void MeteorShowers::drawStream(StelCore* core, StelPainter& painter) void MeteorShowers::drawStream(StelCore* core, StelPainter& painter)
{ {
if (!core->getSkyDrawer()->getFlagHasAtmosphere())
{
return;
}
LandscapeMgr* landmgr = GETSTELMODULE(LandscapeMgr); LandscapeMgr* landmgr = GETSTELMODULE(LandscapeMgr);
if (landmgr->getFlagAtmosphere() && landmgr->getLuminance()>5) if (landmgr->getFlagAtmosphere() && landmgr->getLuminance()>5)
{ {
return; return;
} }
int index = 0; int index = 0;
if (active.size() > 0) if (active.size() > 0)
{ {
foreach (const activeData &a, activeInfo) foreach (const activeData &a, activeInfo)
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 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/