WIP inheriting from renderablelabels

This commit is contained in:
Lovisa Hassler
2020-01-09 09:59:38 +01:00
parent fb2ae7f18a
commit 4ffc5595d9
5 changed files with 84 additions and 33 deletions

View File

@@ -31,10 +31,10 @@ VisLabModule::VisLabModule() : OpenSpaceModule(Name) {
}
void VisLabModule::internalInitialize(const ghoul::Dictionary&) {
//auto renderableFactory = FactoryManager::ref().factory<Renderable>();
//ghoul_assert(renderableFactory, "No renderable factory existed");
auto renderableFactory = FactoryManager::ref().factory<Renderable>();
ghoul_assert(renderableFactory, "No renderable factory existed");
//renderableFactory->registerClass<RenderableDistanceLabel>("RenderableDistanceLabel");
renderableFactory->registerClass<RenderableDistanceLabel>("RenderableDistanceLabel");
}
} // namespace openspace