From: James Turner Date: Wed, 19 Feb 2014 22:02:09 +0000 (-0800) Subject: Tweak tile-manager SGBucket API X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=04736077318cf3ef7dc5a4af40d00f86f2b430b7;p=flightgear.git Tweak tile-manager SGBucket API * FG builds with 'NO_DEPRECATED_API' in SGBucket --- diff --git a/src/Scenery/tilemgr.cxx b/src/Scenery/tilemgr.cxx index bfe8c0a7e..1d4bd40ad 100644 --- a/src/Scenery/tilemgr.cxx +++ b/src/Scenery/tilemgr.cxx @@ -375,7 +375,7 @@ void FGTileMgr::schedule_tiles_at(const SGGeod& location, double range_m) // SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update() for " // << longitude << " " << latitude ); - current_bucket.set_bucket( location ); + current_bucket = SGBucket( location ); // schedule more tiles when visibility increased considerably // TODO Calculate tile size - instead of using fixed value (5000m)