Moved a comment, only because I forgot to save this file earlier. It's not an important change...

This commit is contained in:
David Williams 2011-03-24 23:00:28 +00:00
parent a364f6d72c
commit 092d2aa6a0

View File

@ -387,12 +387,12 @@ namespace PolyVox
Vector3DInt32 pos(x,y,z); Vector3DInt32 pos(x,y,z);
typename std::map<Vector3DInt32, LoadedBlock>::iterator itBlock = m_pBlocks.find(pos); typename std::map<Vector3DInt32, LoadedBlock>::iterator itBlock = m_pBlocks.find(pos);
if(itBlock != m_pBlocks.end())
{
// If the block is already loaded then we don't load it again. This means it does not get uncompressed, // If the block is already loaded then we don't load it again. This means it does not get uncompressed,
// whereas if we were to call getUncompressedBlock() regardless then it would also get uncompressed. // whereas if we were to call getUncompressedBlock() regardless then it would also get uncompressed.
// This might be nice, but on the prefetch region could be bigger than the uncompressed cache size. // This might be nice, but on the prefetch region could be bigger than the uncompressed cache size.
// This would limit the amount of prefetching we could do. // This would limit the amount of prefetching we could do.
if(itBlock != m_pBlocks.end())
{
continue; continue;
} }