Fix view mode for Mars (which is called 'Visible Imagery' not 'Mars' in WWT)
This commit is contained in:
Родитель
b8a7c870c7
Коммит
91bb4bcaca
|
@ -298,6 +298,8 @@ class BaseWWTWidget(HasTraits):
|
|||
if mode == 'earth':
|
||||
# Switch to a daytime view of the earth
|
||||
mode = 'Bing Maps Aerial'
|
||||
elif mode == 'mars':
|
||||
mode = 'Visible Imagery'
|
||||
self._send_msg(event='set_viewer_mode', mode=mode)
|
||||
if mode == 'sky' or mode == 'panorama':
|
||||
self.current_mode = mode
|
||||
|
|
Загрузка…
Ссылка в новой задаче