Old 03-29-2020, 06:29 AM   #1
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,519
Default Items Snap Offset reset to 0 (6.06) (FIXED)

Hi !


It seems there is a weird bug in 6.06 (not in 6.05), win 10 x64



So when Snap Offset is changed via reascript,
it get reset if items become unselected


Code:
 local item = reaper.GetSelectedMediaItem( 0, 0 )
    local take = reaper.GetActiveTake(item)
    if take and not reaper.TakeIsMIDI(take) then

        reaper.SetMediaItemInfo_Value(item, "D_SNAPOFFSET", 1)
        
      end
      
      reaper.UpdateArrange()



This break all snap offset script,


What is wrong ?


Thx !

Last edited by X-Raym; 03-29-2020 at 06:52 AM.
X-Raym is offline   Reply With Quote
Old 03-29-2020, 06:49 AM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,519
Default

EDIT : it seems in fact snap offset is broken even out of the scope of ReaScript !

impossible to set snap offset different to 0
X-Raym is offline   Reply With Quote
Old 03-29-2020, 06:51 AM   #3
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 10,834
Default

Confirmed, thanks. We will release 6.07 shortly to fix this.

Last edited by schwa; 03-29-2020 at 09:18 AM.
schwa is offline   Reply With Quote
Old 03-29-2020, 08:56 AM   #4
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,519
Default

Just tested 6.07 and it seems good !
X-Raym is offline   Reply With Quote
Old 03-30-2020, 02:55 AM   #5
bolgwrad
Human being with feelings
 
bolgwrad's Avatar
 
Join Date: Mar 2011
Location: On my arse in Glasgow, Scotland
Posts: 372
Default

Well done, guys.
__________________
www.sachetsofrelish.com
bolgwrad is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.