lp:~stellarium/stellarium/split_ssystem
It seems meaningful to separate the permanent members of ssystem.ini (planets and their moons) from the user-editable part (minor bodies with their volatile elements). This requires a few changes in the loader and esp. the SolarSystemEditor plugin.
While we are at it, we can identify a few useful default values, and clean out some old and useless stuff from the config files and maybe even refactor the planet loaders.
- Get this branch:
- bzr branch lp:~stellarium/stellarium/split_ssystem
Branch merges
- gzotti: Approve
-
Diff: 26354 lines (+2689/-6629)22 files modifieddata/CMakeLists.txt (+1/-1)
data/ssystem_1000comets.ini (+3/-3916)
data/ssystem_major.ini (+60/-2412)
data/ssystem_minor.ini (+2057/-0)
nebulae/default/textures.json (+5/-5)
plugins/SolarSystemEditor/CMakeLists.txt (+2/-2)
plugins/SolarSystemEditor/src/SolarSystemEditor.cpp (+189/-103)
plugins/SolarSystemEditor/src/SolarSystemEditor.hpp (+58/-43)
plugins/SolarSystemEditor/src/gui/SolarSystemManagerWindow.cpp (+37/-17)
plugins/SolarSystemEditor/src/gui/SolarSystemManagerWindow.hpp (+3/-2)
plugins/SolarSystemEditor/src/gui/solarSystemManagerWindow.ui (+83/-29)
src/core/StelFileMgr.hpp (+1/-1)
src/core/modules/Comet.cpp (+6/-6)
src/core/modules/Comet.hpp (+1/-1)
src/core/modules/MinorPlanet.hpp (+1/-1)
src/core/modules/Planet.cpp (+16/-14)
src/core/modules/Planet.hpp (+3/-2)
src/core/modules/SolarSystem.cpp (+143/-68)
src/core/modules/SolarSystem.hpp (+17/-4)
src/core/modules/ZoneArray.cpp (+1/-1)
src/core/planetsephems/EphemWrapper.hpp (+1/-0)
src/tests/testStelFileMgr.cpp (+1/-1)
Branch information
Recent revisions
- 9448. By gzotti
-
SSEditor:
- Clarified use as editor for the minor bodies only. (GUI strings change, display only minor bodies.)
- Allow deletion of several objects and loading additional data from file in Stellarium's ini format.
SolarSystem: Allow deletion of single planet.
- Changed .ini format to consistently use StelIniFormat.Problem: Pluto. Minor body, but has moons. Currently it is in the major body list and cannot be deleted, but also not updated!
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:stellarium