mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Lua Script Sandbox - GUI part
This commit is contained in:
parent
0191a9c4c2
commit
d0553753af
2 changed files with 6 additions and 3 deletions
|
|
@ -199,6 +199,7 @@ void LuaWindow::reinit_lua ()
|
|||
delete lua;
|
||||
lua = new LuaState();
|
||||
lua->Print.connect (sigc::mem_fun (*this, &LuaWindow::append_text));
|
||||
lua->sandbox (false);
|
||||
|
||||
lua_State* L = lua->getState();
|
||||
LuaInstance::register_classes (L);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue