Nova.cpp   Nova.cpp 
skipping to change at line 170 skipping to change at line 170
Vec3f Nova::getInfoColor(void) const Vec3f Nova::getInfoColor(void) const
{ {
return Vec3f(1.0, 1.0, 1.0); return Vec3f(1.0, 1.0, 1.0);
} }
float Nova::getVMagnitude(const StelCore* core) const float Nova::getVMagnitude(const StelCore* core) const
{ {
// OK, start from minimal brightness // OK, start from minimal brightness
double vmag = minMagnitude; double vmag = minMagnitude;
double currentJD = core->getJDay(); double currentJD = core->getJDE();
double deltaJD = qAbs(peakJD-currentJD); double deltaJD = qAbs(peakJD-currentJD);
// Fill "default" values for mX // Fill "default" values for mX
int t2 = m2; int t2 = m2;
if (m2 < 0) if (m2 < 0)
{ {
// m2 is unset, check type of nova // m2 is unset, check type of nova
if (novaType.contains("NA", Qt::CaseSensitive)) if (novaType.contains("NA", Qt::CaseSensitive))
t2 = 10; // Ok, "fast" nova t2 = 10; // Ok, "fast" nova
 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/