mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 14:59:31 -05:00
Only make an internalInitialize in OpenSpaceModule that accepts a ghoul::Dictionary
This commit is contained in:
@@ -36,7 +36,7 @@ using namespace volume;
|
||||
|
||||
VolumeModule::VolumeModule() : OpenSpaceModule(Name) {}
|
||||
|
||||
void VolumeModule::internalInitialize() {
|
||||
void VolumeModule::internalInitialize(const ghoul::Dictionary&) {
|
||||
auto factory = FactoryManager::ref().factory<Renderable>();
|
||||
ghoul_assert(factory, "No renderable factory existed");
|
||||
factory->registerClass<RenderableTimeVaryingVolume>("RenderableTimeVaryingVolume");
|
||||
|
||||
@@ -33,8 +33,9 @@ class VolumeModule : public OpenSpaceModule {
|
||||
public:
|
||||
constexpr static const char* Name = "Volume";
|
||||
|
||||
void internalInitialize() override;
|
||||
VolumeModule();
|
||||
|
||||
void internalInitialize(const ghoul::Dictionary&) override;
|
||||
};
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
Reference in New Issue
Block a user