X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNavaids%2FNavDataCache.hxx;h=3a6ef313c85449f3b8277de447e887fd4f5299da;hb=487546c848ad5559760b4de4aa36f19b9b8627a7;hp=5b51e77708b8c7c173f0c180d2a926d7ff8bf430;hpb=c00ab21fada99442db931b6f8bcaf1faf17cd365;p=flightgear.git diff --git a/src/Navaids/NavDataCache.hxx b/src/Navaids/NavDataCache.hxx index 5b51e7770..3a6ef313c 100644 --- a/src/Navaids/NavDataCache.hxx +++ b/src/Navaids/NavDataCache.hxx @@ -120,6 +120,14 @@ public: void dropGroundnetFor(PositionedID aAirport); + /** + * Remove all ground-nets globally from the cache. + * This includes parking and taxi-nodes and edges between them. It's useful + * when scenery paths change, since the ground-nets depend on the scenery. + * Using this we can avoid havind to rebuild the entire cache. + */ + void dropAllGroundnets(); + PositionedID insertParking(const std::string& name, const SGGeod& aPos, PositionedID aAirport, double aHeading, int aRadius, const std::string& aAircraftType,