Provide a static member variable Name for all OpenSpaceModules

This commit is contained in:
Alexander Bock
2017-07-12 13:59:16 -04:00
parent 83cbe7f891
commit db9db49716
29 changed files with 42 additions and 31 deletions

View File

@@ -34,7 +34,7 @@
namespace openspace {
DebuggingModule::DebuggingModule()
: OpenSpaceModule("Debugging")
: OpenSpaceModule(Name)
{}
void DebuggingModule::internalInitialize() {
@@ -42,7 +42,6 @@ void DebuggingModule::internalInitialize() {
ghoul_assert(fRenderable, "No renderable factory existed");
fRenderable->registerClass<RenderableDebugPlane>("RenderableDebugPlane");
}
} // namespace openspace