13
0

Disable sandbox in lua SessionInit scripts.

This commit is contained in:
sra 2022-04-20 23:42:11 +02:00 committed by Robin Gareus
parent a27f1e8cf9
commit 76a0b3c70e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -2449,7 +2449,7 @@ ARDOUR_UI::meta_session_setup (const std::string& script_path)
LuaState lua;
lua.Print.connect (&_lua_print);
lua.sandbox (true);
lua.sandbox (false);
lua_State* L = lua.getState();
LuaInstance::register_classes (L);