mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-23 12:40:01 -06:00
Feature/globals handling (#1352)
* Cleaner handling of global state * Prevent Lua memory corruption (closes #982) * Initialize glfw first thing to prevent weird joystick loading bug during startup
This commit is contained in:
@@ -53,7 +53,7 @@ void KeybindingManager::keyboardCallback(Key key, KeyModifier modifier, KeyActio
|
||||
for (auto it = ret.first; it != ret.second; ++it) {
|
||||
using RS = scripting::ScriptEngine::RemoteScripting;
|
||||
|
||||
global::scriptEngine.queueScript(
|
||||
global::scriptEngine->queueScript(
|
||||
it->second.command,
|
||||
it->second.synchronization ? RS::Yes : RS::No
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user