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:
Niels Martin Hansen 2009-07-25 18:16:37 +00:00
parent 01505e3d37
commit 075439f405
1 changed files with 3 additions and 3 deletions

View File

@ -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