Fix bugs in kara-templater causing tenv.relayer and tenv.restyle functions to fail.
Closes #950. Originally committed to SVN as r3277.
This commit is contained in:
parent
01505e3d37
commit
075439f405
1 changed files with 3 additions and 3 deletions
|
@ -348,13 +348,13 @@ function apply_templates(meta, styles, subs, templates)
|
||||||
tenv.fxgroup = {}
|
tenv.fxgroup = {}
|
||||||
|
|
||||||
tenv.relayer = function(layer)
|
tenv.relayer = function(layer)
|
||||||
line.layer = layer
|
tenv.line.layer = layer
|
||||||
return ""
|
return ""
|
||||||
end
|
end
|
||||||
|
|
||||||
tenv.restyle = function(style)
|
tenv.restyle = function(style)
|
||||||
line.style = style
|
tenv.line.style = style
|
||||||
line.styleref = styles[style]
|
tenv.line.styleref = styles[style]
|
||||||
return ""
|
return ""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue