From f859d3017f7b88e4bd6b0f8d4682f6818221fd6b Mon Sep 17 00:00:00 2001 From: AZpercussion <70285853+AZpercussion@users.noreply.github.com> Date: Tue, 12 Mar 2024 08:14:36 +0300 Subject: [PATCH] Release Smart split items using mouse cursor context (also edit cursor, razor area and time selection) v3.15 (#1333) - fixed one silly bug for new users --- Items Editing/az_Smart split items by mouse cursor.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Items Editing/az_Smart split items by mouse cursor.lua b/Items Editing/az_Smart split items by mouse cursor.lua index 5f824dea3..3db1a9fdb 100644 --- a/Items Editing/az_Smart split items by mouse cursor.lua +++ b/Items Editing/az_Smart split items by mouse cursor.lua @@ -1,7 +1,7 @@ -- @description Smart split items using mouse cursor context (also edit cursor, razor area and time selection) -- @author AZ --- @version 3.1 --- @changelog - fixed bug when razor area covers envelope +-- @version 3.15 +-- @changelog - fixed one silly bug for new users -- @provides [main] az_Smart split items by mouse cursor/az_Open options for az_Smart split items by mouse cursor.lua -- @link Forum thread https://forum.cockos.com/showthread.php?t=259751 -- @donation Donate via PayPal https://www.paypal.me/AZsound @@ -1714,10 +1714,10 @@ end ------------------ -------START------ -CurVers = 3.1 +CurVers = 3.15 version = tonumber( reaper.GetExtState(ExtStateName, "version") ) if version ~= CurVers then - if version < 3 then + if not version or version < 3 then updateMSG() else reaper.ShowMessageBox('The script was updated to version '..CurVers ,'Smart split',0) end