]> git.mxchange.org Git - simgear.git/commit
Reposition hook for terrasync.
authorJames Turner <zakalawe@mac.com>
Fri, 27 Sep 2013 19:28:43 +0000 (20:28 +0100)
committerJames Turner <zakalawe@mac.com>
Fri, 27 Sep 2013 19:28:43 +0000 (20:28 +0100)
commitadd14dd27c7f91c0b20358d5986c56d1231a5d09
tree4d703956e66eff501cff340231f1d3e9ace33560
parent61516a5e974c7ed8660a4c76415fc1c4cb14f5cd
Reposition hook for terrasync.

When re-init-ing the sim, tell TerraSync what's going on (we don't want
to actually reset it, since that would disturb in-flight downloads).
Add an explicit method so it can reset its last lon/lat, and hence do
the initial sync at the new location correctly.
simgear/scene/tsync/terrasync.cxx
simgear/scene/tsync/terrasync.hxx