|
|
Thread Tools | Display Modes |
02-25-2019, 08:20 AM | #1 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,307
|
API: SetTrackStateChunk() - FX settings not replaced if 'Avoid loading undo.. (FIXED)
FIXED (v5.981+dev0813a)
API: SetTrackStateChunk() - FX settings not replaced if 'Avoid loading undo states when possible' enabled This issue came up with SWS Resources / Track templates here. cfillion could confirm also with ReaEQ: Code:
t = reaper.GetTrack(0, 0) _, c = reaper.GetTrackStateChunk(t, '') -- (reset or tweak the effect before the next line) reaper.SetTrackStateChunk(t, c) -- result: effect settings are not replaced if "Avoid loading undo states when possible" is enabled -- unless the effect is set offline first reaper.TrackFX_SetOffline(t, 0, true) reaper.SetTrackStateChunk(t, c) -- works now
__________________
me on Soundcloud (Beats Rap Reggae) Wikiloops - free online jams, check it out my ReaScripts SWS issue tracker Donations Last edited by nofish; 08-14-2019 at 01:45 PM. |
02-27-2019, 05:10 PM | #2 |
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,153
|
Oh yes, a fix would be awesome, since I'm using this on a daily basis!
__________________
My Reascripts forum thread | My Reascripts on GitHub If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom |
03-22-2019, 08:04 PM | #3 |
Human being with feelings
Join Date: Mar 2007
Location: Denver, CO
Posts: 633
|
Looks like the workaround is being baked in to SWS, do I read that correct?
I'm guessing to get that feature I'd need to either wait for the next SWS update, or figure out how to build it from source? Good to know about it, regardless.... |
03-23-2019, 08:46 AM | #4 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,307
|
Yes, a workaround for this is added for next SWS version.
I'd still appreciate if this rather be fixed in Reaper because the workaround I came up with is quite clumsy. Anyway, if you're on Win x64 here's a test version containing the workaround: https://github.com/reaper-oss/sws/is...ment-468933388 |
08-10-2019, 01:51 AM | #5 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,307
|
bump
I'd be happy if this maybe could be handled / fixed in Reaper so I could remove my workaround for SWS. (which I'm not happy with at all as it's clumsy and slow ) |
08-13-2019, 01:19 PM | #6 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,117
|
thanks, fixing!
|
08-13-2019, 03:31 PM | #7 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,761
|
@Justin
Whily you're at it, could you have a look at this problem with SetTrackStateChunk as well? https://forum.cockos.com/showthread.php?t=222699
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
Thread Tools | |
Display Modes | |
|
|