From 3bee721ee8f315a2fb41b32bc8ba83147af35290 Mon Sep 17 00:00:00 2001 From: garret Date: Tue, 6 Apr 2021 04:48:15 +0100 Subject: [blur fade] adds undo point --- blur-fade.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'blur-fade.lua') diff --git a/blur-fade.lua b/blur-fade.lua index 9f60077..44ac316 100644 --- a/blur-fade.lua +++ b/blur-fade.lua @@ -1,7 +1,7 @@ script_name="Blur Fade" script_description="Makes fade with blur." script_author="garret" -script_version="2021-04-05" +script_version="2021-04-06" include("utils.lua") -- TODO: add proper fade as well @@ -40,5 +40,6 @@ function main(sub, sel) -- TODO: make code less shit make_lines(sub, sel, i, "{\\bord0\\shad0\\t(\\blur100)}", "{\\t(\\blur100)\\1a&FF&\\3a&FF&\\shad0.01}", "{\\shad1.5\\1aFF\\bord0\\t(\\blur100)}") end end + aegisub.set_undo_point(script_name) end aegisub.register_macro(script_name, script_description, main) -- cgit v1.2.3-70-g09d2