From 854df0ae24ff997979fa5d3e005a4a5cb4eb3acb Mon Sep 17 00:00:00 2001 From: Nikolaus Gullotta Date: Mon, 16 Jul 2018 13:12:05 -0500 Subject: [PATCH] make sandbox = false, for scripts called by Editor::trigger_script_by_name() --- gtk2_ardour/editor_actions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index a225a2978a..fded7e6fae 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -764,7 +764,7 @@ Editor::trigger_script_by_name (const std::string script_name) LuaState lua; lua.Print.connect (&_lua_print); //ToDo - lua.sandbox (true); + lua.sandbox (false); lua_State* L = lua.getState(); LuaInstance::register_classes (L); LuaBindings::set_session (L, _session);