Revision 1b2ef63...

Go back to digest for 9th September 2012

Optimization in Educational

Akarsh Simha committed changes in [kstars] /printing:

Use class SkyMap as the paint device instead of class KStars in
Legend. This is because the --dump command line option does not
instantiate the KStars class, but instantiates SkyMap and
KStarsData.

For the same reason, also obtain the KStarsData instance using
KStarsData::Instance() rather than KStars::data()

(The crash on --dump is not yet fixed due to other problems. This is
the first step towards the fix)

No significant regressions were seen in the dumped sky images.

File Changes

Modified 2 files
  • /printing
  •   kstars/legend.cpp
  •   kstars/legend.h
2 files changed in total