mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-29 15:40:26 -06:00
Add OpenSpace version information
Make info text in WaveFrontGeometry more useful
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
// sgct
|
||||
#define SGCT_WINDOWS_INCLUDE
|
||||
#include <sgct.h>
|
||||
#include <openspace/version.h>
|
||||
|
||||
#include <openspace/engine/configurationmanager.h>
|
||||
#include <openspace/engine/logfactory.h>
|
||||
@@ -186,6 +187,10 @@ bool OpenSpaceEngine::create(int argc, char** argv,
|
||||
// Initialize the requested logs from the configuration file
|
||||
_engine->configureLogging();
|
||||
|
||||
LINFOC("OpenSpace Version", OPENSPACE_VERSION_MAJOR << "." <<
|
||||
OPENSPACE_VERSION_MINOR << "." <<
|
||||
OPENSPACE_VERSION_BUILD << " (" << OPENSPACE_VERSION_STRING << ")");
|
||||
|
||||
// Create directories that doesn't exist
|
||||
auto tokens = FileSys.tokens();
|
||||
for (const std::string& token : tokens) {
|
||||
|
||||
Reference in New Issue
Block a user