Tried your version 3. It's worst ! The buttons are now doing nothing ! Re-run the script doesn't help.
Unfortunately, it works fine for me under both Windows and Linux.
I don't think that my Celestia 1.7 have a problem with scripts. All of my old addons and scripts are working flawlessly since years, so I would have noticed if there was something odd. The only script command which was giving me some troubles is the wait function. This isn't new, it's even documented on the forum since a very long time now and apparently there wasn't a complete solution about it.
Unfortunately, the wait function is quite important. My script uses it to relinquish control to Celestia in order to ensure that Celestia has completed some functions (loading textures, for example) before the script continues.
And why your addon stops time ?
Celestia always stops time while it is loading surface texture images. Usually it's so brief you don't notice.
Unfortunately, the high resolution maps are not a power-of-two on a side. As a result, if your graphics driver doesn't support non-power-of-two textures, then Celestia has to re-scale them to a power of two. This is in addition to cutting them up into small pieces if they don't fit in the graphics hardware's texture buffer. Celestia is single-threaded, so while it is doing those tasks it can't update the display.
During that wait, though, you should see a "Loading..." image. The "Loading..." object uses a tiny 512x256 surface texture, so it loads quickly. That's one place where a wait is necessary: the "loading" object is shown, then there's a brief wait, then the new map is made visible and Celestia starts loading its surface texture image.
John, I'll be updating the credits to include the necessary licensing descriptions.Added after 13 minutes 25 seconds:
I don't know what you mean by
you need to make the globe visible in the "celestial browser" and be on the correct solar system
This is how it's supposed to work:
Click on an appropriate planet's "sigil" to switch from the Hyperion System map to the desired Planetary map. The only sigils which work are on the Hyperion map and have a faint green tint.
While you're viewing that Planetary map, click on the button that's at the top-center of the map. That's the button which has a picture of a globe in it. The appropriate globe should appear. It'll disappear when you click on that button again, or if you click on the Hyperion button that's at the top left corner of the Planetary map.