From 2e38466015910fde018dea4d4cfa4d3335ce7ce4 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 8 Aug 2021 13:34:58 +0200 Subject: [PATCH] Add comment. --- world/jobs/terra_terrarin_job.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/world/jobs/terra_terrarin_job.cpp b/world/jobs/terra_terrarin_job.cpp index b3808d2..b48faea 100644 --- a/world/jobs/terra_terrarin_job.cpp +++ b/world/jobs/terra_terrarin_job.cpp @@ -108,6 +108,7 @@ void TerraTerrarinJob::phase_library_setup() { return; } + //Note: without threadpool and threading none of this can happen, as cache will get initialized the first time a thread requests it! while (!cache->get_initialized()) { //Means it's currently merging the atlases on a different thread. //Let's just wait