Completely remove references to constants.h

This commit is contained in:
Alexander Bock
2015-12-14 17:36:15 -08:00
parent c92fc923f9
commit 177571195c
33 changed files with 33 additions and 50 deletions
-2
View File
@@ -24,8 +24,6 @@
#include <openspace/engine/configurationmanager.h>
#include <openspace/util/constants.h>
#include <ghoul/lua/lua_helper.h>
#include <ghoul/misc/exception.h>
#include <ghoul/filesystem/filesystem.h>
+4 -1
View File
@@ -37,10 +37,11 @@
#include <openspace/interaction/mousecontroller.h>
#include <openspace/network/networkengine.h>
#include <openspace/properties/propertyowner.h>
#include <openspace/rendering/renderable.h>
#include <openspace/rendering/renderengine.h>
#include <openspace/scripting/scriptengine.h>
#include <openspace/scene/ephemeris.h>
#include <openspace/scene/scene.h>
#include <openspace/util/constants.h>
#include <openspace/util/factorymanager.h>
#include <openspace/util/time.h>
#include <openspace/util/spicemanager.h>
@@ -117,6 +118,8 @@ OpenSpaceEngine::OpenSpaceEngine(std::string programName,
_interactionHandler->setPropertyOwner(_globalPropertyNamespace.get());
_globalPropertyNamespace->addPropertySubOwner(_interactionHandler.get());
FactoryManager::initialize();
FactoryManager::ref().addFactory(new ghoul::TemplateFactory<Renderable>);
FactoryManager::ref().addFactory(new ghoul::TemplateFactory<Ephemeris>);
SpiceManager::initialize();
Time::initialize();
ghoul::systemcapabilities::SystemCapabilities::initialize();