The issue with incorrect Night Vision text in the oculars plugin is easily fixed
In file plugins/Oculars/src/Oculars.cpp in function Oculars::paintText near line 1424 is
painter.setColor(0.8, 0.48, 0.0, 1);
replace it with:
if (StelApp::getInstance().getVisionModeNight())
painter.setColor(0.8, 0.0, 0.0, 1); //red only
else
painter.setColor(0.8, 0.48, 0.0, 1);
Maybe you want to use a function to map the orange text to the suitabel red tone instead of the way I have hard coded it.
With this change I think all of the NightVision issues with the Oculars plugin have been addressed in ver 0.11.4a
The issue with incorrect Night Vision text in the oculars plugin is easily fixed
In file plugins/ Oculars/ src/Oculars. cpp in function Oculars::paintText near line 1424 is setColor( 0.8, 0.48, 0.0, 1);
painter.
replace it with: :getInstance( ).getVisionMode Night() ) setColor( 0.8, 0.0, 0.0, 1); //red only setColor( 0.8, 0.48, 0.0, 1);
if (StelApp:
painter.
else
painter.
Maybe you want to use a function to map the orange text to the suitabel red tone instead of the way I have hard coded it.
With this change I think all of the NightVision issues with the Oculars plugin have been addressed in ver 0.11.4a