Changed default Galaxy::lightGain to 0 as FT code produces much brighter
galaxies.
This commit is contained in:
parent
11760ec690
commit
c2233c21ef
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue