Changeset 346 for binary-improvements
- Timestamp:
- Jan 7, 2019, 2:25:43 PM (6 years ago)
- Location:
- binary-improvements
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/FileCache/MapTileCache.cs
r331 r346 83 83 } 84 84 85 public void ResetTile (int zoomlevel) { 86 try { 87 lock (cache) { 88 cache [zoomlevel].filename = null; 89 cache [zoomlevel].pngData = null; 90 } 91 } catch (Exception e) { 92 Log.Warning ("Error in MapTileCache.ResetTile: " + e); 93 } 94 } 95 85 96 public override byte[] GetFileContent (string filename) { 86 97 try { -
binary-improvements/MapRendering/MapRendering/MapRenderBlockBuffer.cs
r332 r346 46 46 currentBlockMapFolder = string.Empty; 47 47 currentBlockMapPos = new Vector2i (Int32.MinValue, Int32.MinValue); 48 cache.ResetTile (zoomLevel); 48 49 } 49 50 -
binary-improvements/MapRendering/MapRendering/MapRendering.cs
r331 r346 178 178 } 179 179 } 180 181 rfm.Cleanup (); 180 182 181 183 if (fullMapTexture != null) {
Note:
See TracChangeset
for help on using the changeset viewer.