13
0

tom's-loop: Allow pasting at loop-end (needs future rework after nutempo)

This commit is contained in:
Robin Gareus 2018-01-30 14:44:00 +01:00
parent 8207b545d1
commit e6b8a0d95b

View File

@ -180,7 +180,7 @@ function factory (params) return function ()
goto errorout goto errorout
end end
assert (loop:start () < loop:_end ()) assert (loop:start () < loop:_end ())
if loop:_end () >= playhead then if loop:_end () > playhead then
print_help(); print_help();
print ("Error: The Playhead (paste point) needs to be after the loop.") print ("Error: The Playhead (paste point) needs to be after the loop.")
goto errorout goto errorout