Revision 549013

Go back to digest for 11th June 2006

Bug Fixes in Educational

Jason Harris committed changes in /trunk/KDE/kdeedu/kstars/kstars:

Fix bug causing large lag in Full updates. .The problem was that I was recreating an Earth object inside the loop
over all copmets and asteroids, even though the Component itself
contains the Earth object. Fixing this caused the timing for
SkyMapComposite::updatePlanets() to go from 1.4 seconds to 0.03
seconds!.I also fixed some other minor issues in skycomponents.Note: I have committed the TIMING code that I had earlier sent to the
list as patches, so we can continue to use this information for
profiling.

File Changes

Modified 9 files
  • /trunk/KDE/kdeedu/kstars/kstars
  •   /kstars.cpp
  •   /kstars.h
  •   /kstarsdata.cpp
  •   /skymapevents.cpp
  •   /skycomponents/singlecomponent.cpp
  •   /skycomponents/skymapcomposite.cpp
  •   /skycomponents/skymapcomposite.h
  •   /skycomponents/solarsystemcomposite.cpp
  •   /skycomponents/solarsystemlistcomponent.cpp
9 files changed in total