Marble globe initialization enhancement

Davide DB dbdavide at gmail.com
Tue Dec 9 15:56:32 PST 2014


Working on the latest Subsurface build on Windows I realize a strange
behavior of the Globe.

When opening subsurface and the current dive was saved without a
location on the globe, it shows the earth at the minimum zoom aka from
the outer space :)

When I select other dives from the divelist which have a valid
location the globe move to the dive location rotating at the same
zoom. From that point, when I change dive it has (just) like a
trembling.

It shows the current dive location but the zoom is so wide that I just
get a trembling when it center on the dive location (my dive locations
are all in the Mediterranean sea so viewing them from the space
doesn't change too much).

If I zoom on the globe then that zoom level is maintained trough the
program session hence when I change location I see a nice and
meaningful globe movement.

Maybe you are thinking I'm crazy but before I realize this I always
thought that the marble plugin had several bugs. I wasn't able to
understand what's happening. Some friends of mine reported the same
thing to me: sometimes the globe simply doesn't work.
This likely happens specially when I'm importing new dives and I don't
have set the proper dive location yet.

A simple enhancement  would be: having a default (medium) zoom when
dive location is set and the user has not zoomed in/out on the globe
yet.

http://trac.subsurface-divelog.org/ticket/779


-- 
Davide
https://vimeo.com/bocio/videos


More information about the subsurface mailing list