Note sure if it makes sense opening a separate issue for all SWS things that broke with the addition of automation items (AI's) (at least until someone starts working on it), so for now here's a collection issue. Feel free to add or notify me so I can update the first post.
Broken:
All SWS(/BR) actions/scripts related to envelopes don't work with AIs
BR_GetMouseCursorContext() - Envelope point detection broken in AI's #922
Region playlist: Append / Paste regions
BR_GetMouseCursorContext(): Envelope segment detection and point detection is slightly offset. Probably happened with the addition of AI's where envelopes got shifted upwards a bit to make room for the AI labels.
Test code:
function msg(m)
return reaper.ShowConsoleMsg(tostring(m) .. "\n")
end
lastDetailsOut = -1
function GetMouseCursorDetails()
windowOut, segmentOut, detailsOut = reaper.BR_GetMouseCursorContext()
if lastDetailsOut ~= detailsOut then
msg("detailsOut: " .. detailsOut)
end
lastDetailsOut = detailsOut
reaper.defer(GetMouseCursorDetails)
end
GetMouseCursorDetails()
edit;
For takes envelopes the detection is correct (makes sense as they weren't shifted).
There's a ENV_GAP constant which probably needs adjustment (for fixing point / segment detection offset in env. lanes).
Just a reminder from my side that SWS(/BR) actions/scripts related to envelopes don't work with AIs.
Thank you all for considering when updating these actions.
Note sure if it makes sense opening a separate issue for all SWS things that broke with the addition of automation items (AI's) (at least until someone starts working on it), so for now here's a collection issue. Feel free to add or notify me so I can update the first post.
Broken:
BR_GetMouseCursorContext() - Envelope point detection broken in AI's #922
Region playlist: Append / Paste regions
BR_GetMouseCursorContext(): Envelope segment detection and point detection is slightly offset. Probably happened with the addition of AI's where envelopes got shifted upwards a bit to make room for the AI labels.
Test code:
edit; For takes envelopes the detection is correct (makes sense as they weren't shifted). There's a ENV_GAP constant which probably needs adjustment (for fixing point / segment detection offset in env. lanes).
Enhancements:
S&M_SPLIT1/2 actions don't split automation items #952
Add automation items context for contextual toolbars #915 done in PR #960