mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Save Lua script file origin (for later updates) -- GUI+Session plugin
This commit is contained in:
parent
24f070610c
commit
b83ea5bd49
1 changed files with 3 additions and 0 deletions
|
|
@ -1197,6 +1197,9 @@ LuaInstance::interactive_add (LuaScriptInfo::ScriptType type, int id)
|
|||
return false;
|
||||
}
|
||||
|
||||
LuaScriptParamPtr lspp (new LuaScriptParam("x-script-origin", "", spi->path, false));
|
||||
lsp.push_back (lspp);
|
||||
|
||||
switch (type) {
|
||||
case LuaScriptInfo::EditorAction:
|
||||
return set_lua_action (id, spd.name(), script, lsp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue