From 04736077318cf3ef7dc5a4af40d00f86f2b430b7 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 19 Feb 2014 14:02:09 -0800 Subject: [PATCH] Tweak tile-manager SGBucket API * FG builds with 'NO_DEPRECATED_API' in SGBucket --- src/Scenery/tilemgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)