From 4630c0cd759f30dba83af38f6520038c5b661562 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Sat, 25 Jul 2009 18:18:20 +0000 Subject: [PATCH] Merge r3277 into 2.1.8 branch. Updates #950. Originally committed to SVN as r3278. --- aegisub/automation/autoload/kara-templater.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aegisub/automation/autoload/kara-templater.lua b/aegisub/automation/autoload/kara-templater.lua index ad84d474d..b63b5c1b6 100644 --- a/aegisub/automation/autoload/kara-templater.lua +++ b/aegisub/automation/autoload/kara-templater.lua @@ -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