ZoneArray.cpp   ZoneArray.cpp 
skipping to change at line 511 skipping to change at line 511
Vec3d altAz=core->j2000ToAltAz(Vec3d(vf[0], vf[1], vf[2]), StelC ore::RefractionOn); Vec3d altAz=core->j2000ToAltAz(Vec3d(vf[0], vf[1], vf[2]), StelC ore::RefractionOn);
float extMagShift=0.0f; float extMagShift=0.0f;
extinction.forward(&altAz, &extMagShift); extinction.forward(&altAz, &extMagShift);
int extMagShiftStep=qMin((int)floor(extMagShift/k), 4096-mag_st eps); // this number muist be equal StarMgr.cpp line 649 int extMagShiftStep=qMin((int)floor(extMagShift/k), 4096-mag_st eps); // this number muist be equal StarMgr.cpp line 649
tmpRcmag = rcmag_table+2*(s->mag+extMagShiftStep); tmpRcmag = rcmag_table+2*(s->mag+extMagShiftStep);
} }
if (drawer->drawPointSource(sPainter, Vec3d(vf[0], vf[1], vf[2]), tm pRcmag, s->bV, !is_inside) && s->hasName() && s->mag < maxMagStarName && s- >hasComponentID()<=1) if (drawer->drawPointSource(sPainter, Vec3d(vf[0], vf[1], vf[2]), tm pRcmag, s->bV, !is_inside) && s->hasName() && s->mag < maxMagStarName && s- >hasComponentID()<=1)
{ {
const float offset = *tmpRcmag*0.7f; const float offset = *tmpRcmag*0.7f;
const Vec3f& colorr = (StelApp::getInstance().getVisionModeNight () ? Vec3f(0.8f, 0.2f, 0.2f) : StelSkyDrawer::indexToColor(s->bV))*0.75f; const Vec3f& colorr = (StelApp::getInstance().getVisionModeNight () ? Vec3f(0.8f, 0.0f, 0.0f) : StelSkyDrawer::indexToColor(s->bV))*0.75f;
sPainter->setColor(colorr[0], colorr[1], colorr[2],names_brightn ess); sPainter->setColor(colorr[0], colorr[1], colorr[2],names_brightn ess);
sPainter->drawText(Vec3d(vf[0], vf[1], vf[2]), s->getNameI18n(), 0, offset, offset, false); sPainter->drawText(Vec3d(vf[0], vf[1], vf[2]), s->getNameI18n(), 0, offset, offset, false);
} }
} }
} }
template<class Star> template<class Star>
void SpecialZoneArray<Star>::searchAround(const StelCore* core, int index, const Vec3d &v, double cosLimFov, void SpecialZoneArray<Star>::searchAround(const StelCore* core, int index, const Vec3d &v, double cosLimFov,
QList<StelObjectP > &result) QList<StelObjectP > &result)
{ {
 End of changes. 1 change blocks. 
1 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/