WorldWideTelescope / wwt-web-client

The WorldWide Telescope web client lets you explore the universe in your browser.
https://worldwidetelescope.org/webclient/
MIT License
105 stars 35 forks source link

Error when setting foreground to Black Sky Background #218

Closed astrofrog closed 4 years ago

astrofrog commented 5 years ago

The following works but still raises an error:

wwt.setForegroundImageByName('Black Sky Background')
undefined
black/:1 GET http://black/ net::ERR_NAME_NOT_RESOLVED

No such error is raised if setting the background.

astrojonathan commented 5 years ago

This is a "Virtual" imageset. It allows you to have NO background image drawn at all. Since Foreground Can be null, you never should use this on foreground, just use null.