Planets around a star in a binary system not listed
-
Topic authoromega13a
- 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
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.
Re: Planets around a star in a binary system not listed
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.
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
-
Topic authoromega13a
- 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
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.