diff options
author | Mattes D <github@xoft.cz> | 2014-09-15 17:29:34 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-15 17:29:34 +0200 |
commit | 21b70f17c264de4f7c216cfca580e8254df5cbee (patch) | |
tree | ab513d7146904bfdfa88943c787548311997cfdd /Tools/QtBiomeVisualiser/BiomeView.cpp | |
parent | QtBiomeVisualiser: removed multithreading. (diff) | |
download | cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar.gz cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar.bz2 cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar.lz cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar.xz cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.tar.zst cuberite-21b70f17c264de4f7c216cfca580e8254df5cbee.zip |
Diffstat (limited to 'Tools/QtBiomeVisualiser/BiomeView.cpp')
-rw-r--r-- | Tools/QtBiomeVisualiser/BiomeView.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tools/QtBiomeVisualiser/BiomeView.cpp b/Tools/QtBiomeVisualiser/BiomeView.cpp index 671942440..bbaccb369 100644 --- a/Tools/QtBiomeVisualiser/BiomeView.cpp +++ b/Tools/QtBiomeVisualiser/BiomeView.cpp @@ -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()) |