mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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.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…
x
Reference in New Issue
Block a user