mirror of https://github.com/odrling/Aegisub
Fixed stupid possible bug in utils.lua. (Forgot a local keyword in copy_line.)
Finally wrote some documentation for karaskel.lua and karaskel-adv.lua. Originally committed to SVN as r28.
This commit is contained in:
parent
645aae6e29
commit
c6fb2bdf42
|
@ -33,8 +33,6 @@
|
|||
|
||||
-- It automatically includes and re-setups karaskel.lua, so you should not include that yourself!
|
||||
include("karaskel.lua")
|
||||
-- Also include utils.lua, since you'll most likely need to use the copy_line function
|
||||
include("utils.lua")
|
||||
|
||||
-- The interface here has been greatly simplified, there is only one function to override, do_syllable
|
||||
-- The format for that one has changed.
|
||||
|
|
|
@ -65,6 +65,8 @@
|
|||
-- start_time - Start time of the syllable, in miliseconds, relative to the start of the line
|
||||
-- end_time - End time of the syllable, similar to start_time
|
||||
|
||||
-- Since utils.lua is always useful, include it here
|
||||
include("utils.lua")
|
||||
|
||||
-- This one is used
|
||||
aegisub.output_warning = aegisub.output_debug
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
-- Variables with tables only hold references to the actual tables
|
||||
-- Since a line is a table, a line needs to be copied, otherwise things break in bad ways
|
||||
function copy_line(input)
|
||||
output = {}
|
||||
local output = {}
|
||||
output.kind = input.kind
|
||||
if input.kind == "scomment" then
|
||||
output.text = input.text
|
||||
|
|
BIN
docs/help.hm3
BIN
docs/help.hm3
Binary file not shown.
Loading…
Reference in New Issue