From 5847219331026d43d759ca0f50e41fcc6d703a2f Mon Sep 17 00:00:00 2001 From: David Williams Date: Mon, 30 Mar 2015 15:36:28 +0200 Subject: [PATCH] Fixed bug with chunk timestamp not being updated. --- include/PolyVox/PagedVolume.inl | 1 + 1 file changed, 1 insertion(+) diff --git a/include/PolyVox/PagedVolume.inl b/include/PolyVox/PagedVolume.inl index 57bf70c8..3afc3d1e 100644 --- a/include/PolyVox/PagedVolume.inl +++ b/include/PolyVox/PagedVolume.inl @@ -282,6 +282,7 @@ namespace PolyVox // The chunk was found so we can use it. pChunk = itChunk->second.get(); POLYVOX_ASSERT(pChunk, "Recent chunk list shold never contain a null pointer."); + pChunk->m_uChunkLastAccessed = ++m_uTimestamper; } // If we still haven't found the chunk then it's time to create a new one and page it in from disk.