mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 11:18:22 -05:00
adding renderable type back to renderables
This commit is contained in:
@@ -92,9 +92,6 @@ ghoul::mm_unique_ptr<Renderable> Renderable::createFromDictionary(
|
||||
documentation::testSpecificationAndThrow(Documentation(), dictionary, "Renderable");
|
||||
|
||||
std::string renderableType = dictionary.value<std::string>(KeyType);
|
||||
// Now we no longer need the type variable
|
||||
dictionary.removeValue(KeyType);
|
||||
|
||||
auto factory = FactoryManager::ref().factory<Renderable>();
|
||||
ghoul_assert(factory, "Renderable factory did not exist");
|
||||
Renderable* result = factory->create(
|
||||
|
||||
Reference in New Issue
Block a user