Oculars.cpp   Oculars.cpp 
skipping to change at line 1849 skipping to change at line 1849
else else
{ {
if (selectedLensIndex >= 0) if (selectedLensIndex >= 0)
lens = lense[selectedLensIndex]; lens = lense[selectedLensIndex];
telescope = telescopes[selectedTelescopeIndex]; telescope = telescopes[selectedTelescopeIndex];
core->setFlipHorz(telescope->isHFlipped()); core->setFlipHorz(telescope->isHFlipped());
core->setFlipVert(telescope->isVFlipped()); core->setFlipVert(telescope->isVFlipped());
} }
// Limit stars and DSOs if it enable // Limit stars and DSOs if it enable and it's telescope + eyepiece c
if (getFlagLimitMagnitude()) ombination
if (getFlagLimitMagnitude() && !ocular->isBinoculars())
{ {
// Simplified calculation of the penetrating power of the te lescope // Simplified calculation of the penetrating power of the te lescope
// TODO: need improvements? // TODO: need improvements?
double limitMag = 2.1 + 5*std::log10(telescope->diameter()); double limitMag = 2.1 + 5*std::log10(telescope->diameter());
skyManager->setFlagStarMagnitudeLimit(true); skyManager->setFlagStarMagnitudeLimit(true);
skyManager->setFlagNebulaMagnitudeLimit(true); skyManager->setFlagNebulaMagnitudeLimit(true);
skyManager->setCustomStarMagnitudeLimit(limitMag); skyManager->setCustomStarMagnitudeLimit(limitMag);
skyManager->setCustomNebulaMagnitudeLimit(limitMag); skyManager->setCustomNebulaMagnitudeLimit(limitMag);
} }
 End of changes. 1 change blocks. 
2 lines changed or deleted 3 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/