Importing SSOs causes some strange effects

Bug #969211 reported by Bogdan Marinov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
Bogdan Marinov

Bug Description

When the user ssystem.ini is modified during runtime by the Solar System Editor plug-in, the resulting reload of the Solar System objects causes some unexpected effects. For example:

1. Start Stellarium
2. Import a list of objects from the MPC with the SSE plug-in, for example comets.
3. Zoom in the Moon and turn off the ground and the atmosphere to watch it.
4. Increase the time speed and watch what happens (on my computer, the Moon appears to approach suddenly, collide with the observer and then display its far side.)

I was alerted to this fact by a forum thread:
http://www.cloudynights.com/ubbthreads/showflat.php/Cat/0/Number/5139633/

Working hypothesis: when the Solar System is reloaded during runtime, this includes the body with the observer's location, which is not restored properly.

Related branches

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

It seems that my hypothesis is correct, though the initial attempt at fixing it is a bit rough and causes a visible "hiccup" when testing (by removing an imported object). I'm not sure if the observed delay is caused by the re-creation of a StelObserver object by StelCore, or by the reloading of all the objects when one is removed using the window. It's probably the latter.

I have committed the fix, though I will continue to search for a more elegant solution. This bug should remain as "in progress", unless the current fix stays until the next release.
http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/5288

Changed in stellarium:
status: Confirmed → In Progress
Changed in stellarium:
milestone: 0.11.3 → 0.11.4
Changed in stellarium:
milestone: 0.11.4 → 0.12.0
Changed in stellarium:
status: In Progress → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.