Only make an internalInitialize in OpenSpaceModule that accepts a ghoul::Dictionary

This commit is contained in:
Alexander Bock
2017-12-31 17:32:40 -05:00
parent 53cfc7dd91
commit cac2f24b40
34 changed files with 70 additions and 59 deletions

View File

@@ -34,7 +34,7 @@ namespace openspace {
GalaxyModule::GalaxyModule() : OpenSpaceModule(Name) {}
void GalaxyModule::internalInitialize() {
void GalaxyModule::internalInitialize(const ghoul::Dictionary&) {
auto fRenderable = FactoryManager::ref().factory<Renderable>();
ghoul_assert(fRenderable, "No renderable factory existed");
fRenderable->registerClass<RenderableGalaxy>("RenderableGalaxy");