Disable sandbox in lua SessionInit scripts.
This commit is contained in:
parent
a27f1e8cf9
commit
76a0b3c70e
@ -2449,7 +2449,7 @@ ARDOUR_UI::meta_session_setup (const std::string& script_path)
|
|||||||
|
|
||||||
LuaState lua;
|
LuaState lua;
|
||||||
lua.Print.connect (&_lua_print);
|
lua.Print.connect (&_lua_print);
|
||||||
lua.sandbox (true);
|
lua.sandbox (false);
|
||||||
|
|
||||||
lua_State* L = lua.getState();
|
lua_State* L = lua.getState();
|
||||||
LuaInstance::register_classes (L);
|
LuaInstance::register_classes (L);
|
||||||
|
Loading…
Reference in New Issue
Block a user