mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-29 15:40:26 -06:00
Register new OpenSpace model reader
This commit is contained in:
Submodule ext/ghoul updated: 80cf208aed...9e815e8073
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user