mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Feature/globals (#690)
* Move global objects out of OpenSpaceEngine * General cleanup of main.cpp * Add default_joystick asset to all scenes * No longer suppress mouse interaction on slave nodes * Window delegate uses function pointers rather than subclassing * Fix for false overwriting of ImGUI configuration file * Change default color and tilt angle of fisheye rendering * Restructured performance manager * Simplify screenshot handling
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#include <openspace/documentation/core_registration.h>
|
||||
#include <openspace/documentation/verifier.h>
|
||||
#include <openspace/engine/moduleengine.h>
|
||||
#include <openspace/engine/openspaceengine.h>
|
||||
#include <openspace/engine/globals.h>
|
||||
#include <openspace/scene/assetlistener.h>
|
||||
#include <openspace/scene/assetloader.h>
|
||||
#include <openspace/scripting/scriptengine.h>
|
||||
@@ -104,7 +104,7 @@ void SyncAssetTask::perform(const Task::ProgressCallback& progressCallback) {
|
||||
|
||||
registerCoreClasses(scriptEngine);
|
||||
|
||||
for (OpenSpaceModule* m : OsEng.moduleEngine().modules()) {
|
||||
for (OpenSpaceModule* m : global::moduleEngine.modules()) {
|
||||
scriptEngine.addLibrary(m->luaLibrary());
|
||||
|
||||
for (scripting::LuaLibrary& l : m->luaLibraries()) {
|
||||
|
||||
Reference in New Issue
Block a user