Also accept SSA "Karaoke" effect field for timed karaoke source in kara-templater
Originally committed to SVN as r1465.
This commit is contained in:
parent
400266c383
commit
f556478902
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ function apply_templates(meta, styles, subs, templates)
|
||||||
aegisub.progress.set(i/n*100)
|
aegisub.progress.set(i/n*100)
|
||||||
i = i + 1
|
i = i + 1
|
||||||
local l = subs[i]
|
local l = subs[i]
|
||||||
if l.class == "dialogue" and ((l.effect == "" and not l.comment) or (l.effect == "karaoke" and l.comment)) then
|
if l.class == "dialogue" and ((l.effect == "" and not l.comment) or l.effect:match("[Kk]araoke")) then
|
||||||
l.i = i
|
l.i = i
|
||||||
l.comment = false
|
l.comment = false
|
||||||
karaskel.preproc_line(subs, meta, styles, l)
|
karaskel.preproc_line(subs, meta, styles, l)
|
||||||
|
|
Loading…
Reference in a new issue