From 80a3a518f18bb2afa9ce4ac46d965d9989123a4d Mon Sep 17 00:00:00 2001 From: Kenneth VanderLinde Date: Thu, 16 Jun 2022 12:05:54 -0700 Subject: [PATCH] Fix to invalidate the `ZoneView.topologyAreas` cache on topology changes --- src/main/java/net/rptools/maptool/client/ui/zone/ZoneView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/rptools/maptool/client/ui/zone/ZoneView.java b/src/main/java/net/rptools/maptool/client/ui/zone/ZoneView.java index 5d178422bf..7feb6151ab 100644 --- a/src/main/java/net/rptools/maptool/client/ui/zone/ZoneView.java +++ b/src/main/java/net/rptools/maptool/client/ui/zone/ZoneView.java @@ -788,6 +788,7 @@ public void modelChanged(ModelChangeEvent event) { personalBrightLightCache.clear(); personalDrawableLightCache.clear(); visibleAreaMap.clear(); + topologyAreas.clear(); topologyTrees.clear(); tokenVisibleAreaCache.clear();