fix: rendering artists from cartographer

Thanks @g-fb. Resolves #32.
This commit is contained in:
Joshua Strobl 2024-10-28 19:20:35 +02:00
parent d95cfa3f36
commit 8ff470989b
6 changed files with 14 additions and 12 deletions

View file

@ -21,14 +21,11 @@ int main(int argc, char* argv[]) {
if (engine.rootObjects().isEmpty()) { return -1; }
std::thread([]() {
// Cartographer::create();
KotoConfig::create();
KotoDatabase::create();
KotoDatabase::instance().connect();
std::cout << "???" << std::endl;
// If we needed to bootstrap, index all libraries, otherwise load the database
if (KotoDatabase::instance().requiredBootstrap()) {
indexAllLibraries();