Planets around a star in a binary system not listed

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Planets around a star in a binary system not listed

Post #1by omega13a » 01.01.2012, 01:44

I'm using Celestia 1.6.1 on Fedora Linux. This bug may effect other versions/oses. Lets say you have a binary star system like Alpha Centauri and you go to create a system of planets for both of the stars (one system of planets for one star, another system for the other), the planets around one of the stars in the binary system are not listed in the solar system browser, even when you navigate to that star and open up the solar system browser.
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Planets around a star in a binary system not listed

Post #2by selden » 01.01.2012, 15:33

This bug is present in Windows, too.

In systems with Stars orbiting a Barycenter, only SSC objects which orbit the Barycenter are listed. Neither the Stars nor their planets are listed, even if you GoTo one of the Stars. :(
Selden

Avatar
Topic author
omega13a M
Posts: 120
Joined: 15.10.2011
Age: 40
With us: 13 years 1 month
Location: California
Contact:

Re: Planets around a star in a binary system not listed

Post #3by omega13a » 24.01.2012, 05:50

I've been looking at the source code and some 'expirementing' and I think I found out the cause but I don't know how to fix it as I haven't found exactly where in the code the mistake is. Apperently celestia looks for the nearest object that has planets when you go to the Solar System browser. When viewing the star browser when in a binary star system, it always says the barycenter is the closest object to you even if you are like on the surface of one of the stars. After the barycenter is what ever object is listed next in the stc file. Obviously there is some logic problem somewhere in the code that's causing stars and barycenters and any other things in stc files to be listed in the wrong order distance wise. I hope that helps in solving this annoying bug.
A fish without a bicycle cannot contemplate his navel

My Celestia Add-ons
The Omega Galaxy


Return to “Bugs”