1
0

QtBiomeVisualiser: Added reloading.

This commit is contained in:
Mattes D
2014-09-15 17:29:34 +02:00
parent 84947a22ad
commit 21b70f17c2
6 changed files with 49 additions and 4 deletions

View File

@@ -131,6 +131,21 @@ void BiomeView::chunkAvailable(int a_ChunkX, int a_ChunkZ)
void BiomeView::reload()
{
if (!hasData())
{
return;
}
m_Cache.reload();
redraw();
}
void BiomeView::drawChunk(int a_ChunkX, int a_ChunkZ)
{
if (!hasData())