projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Lua Script Sandbox - GUI part
[ardour.git]
/
gtk2_ardour
/
luawindow.cc
diff --git
a/gtk2_ardour/luawindow.cc
b/gtk2_ardour/luawindow.cc
index beb2cc0356a2c009cd312051a15ca9aa78f75cbf..72f0af6980195e820793800344d2dcf9eac8682c 100644
(file)
--- a/
gtk2_ardour/luawindow.cc
+++ b/
gtk2_ardour/luawindow.cc
@@
-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);