Register new OpenSpace model reader

This commit is contained in:
Malin Ejdbo
2021-04-22 17:17:16 +02:00
parent 32b6a69900
commit c4fad58f3b
2 changed files with 6 additions and 1 deletions

View File

@@ -54,6 +54,7 @@
#include <ghoul/io/texture/texturereadercmap.h>
#include <ghoul/io/model/modelreader.h>
#include <ghoul/io/model/modelreaderassimp.h>
#include <ghoul/io/model/modelreaderosmodel.h>
#include <ghoul/logging/logmanager.h>
#include <ghoul/misc/profiling.h>
#include <ghoul/misc/stringconversion.h>
@@ -478,6 +479,10 @@ void RenderEngine::initialize() {
std::make_unique<ghoul::io::ModelReaderAssimp>()
);
ghoul::io::ModelReader::ref().addReader(
std::make_unique<ghoul::io::ModelReaderOSModel>()
);
_versionString = OPENSPACE_VERSION_STRING_FULL;
if (global::versionChecker->hasLatestVersionInfo()) {
VersionChecker::SemanticVersion latest = global::versionChecker->latestVersion();