mirror of https://github.com/odrling/Aegisub
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
|
@ -348,13 +348,13 @@ function apply_templates(meta, styles, subs, templates)
|
|||
tenv.fxgroup = {}
|
||||
|
||||
tenv.relayer = function(layer)
|
||||
line.layer = layer
|
||||
tenv.line.layer = layer
|
||||
return ""
|
||||
end
|
||||
|
||||
tenv.restyle = function(style)
|
||||
line.style = style
|
||||
line.styleref = styles[style]
|
||||
tenv.line.style = style
|
||||
tenv.line.styleref = styles[style]
|
||||
return ""
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue