Changed default Galaxy::lightGain to 0 as FT code produces much brighter

galaxies.
ver1_5_1
Pat Suwalski 2005-12-06 05:36:37 +00:00
parent 11760ec690
commit c2233c21ef
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* $Id: common.cpp,v 1.1 2005-12-06 03:19:35 suwalski Exp $
* $Id: common.cpp,v 1.2 2005-12-06 04:36:37 suwalski Exp $
*/
#include <fstream>
@ -179,7 +179,7 @@ void setSaneVisualMagnitude(AppData* app, float value)
void setSaneGalaxyLightGain(float value)
{
if (value < 0.0 || value > 1.0)
value = 0.5f; /* Default */
value = 0.0f; /* Default */
Galaxy::setLightGain(value);
}

View File

@ -69,7 +69,7 @@
<applyto>/apps/celestia/galaxyLightGain</applyto>
<owner>celestia</owner>
<type>float</type>
<default>0.5</default>
<default>0.0</default>
<locale name="C">
<short>Brightness control for galaxies.</short>
</locale>