From e6b8a0d95bbdc091fcef0713197a9985263bb631 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 30 Jan 2018 14:44:00 +0100 Subject: tom's-loop: Allow pasting at loop-end (needs future rework after nutempo) --- scripts/tomsloop.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/tomsloop.lua b/scripts/tomsloop.lua index db1d35a92f..ea06e486e9 100644 --- a/scripts/tomsloop.lua +++ b/scripts/tomsloop.lua @@ -180,7 +180,7 @@ function factory (params) return function () goto errorout end assert (loop:start () < loop:_end ()) - if loop:_end () >= playhead then + if loop:_end () > playhead then print_help(); print ("Error: The Playhead (paste point) needs to be after the loop.") goto errorout -- cgit v1.2.3