Moving FX that has automation inside/outside Container via reaper.TrackFX_CopyToTrack results deleted automation.
Steps:
1. Create Container
2. Add ReaEQ in container
3. Write some automation on ReaEQ
Execute:
Code:
local track = reaper.GetTrack(0,0)
FX_ID = 0x2000000 + 1 + (reaper.TrackFX_GetCount(track) + 1)
reaper.TrackFX_CopyToTrack( track, FX_ID, track, -1000, true )
EDIT: After this hitting undo Container has BYPASS automation written to it
EDIT2: Copy also does not transfer automation created
Code:
reaper.TrackFX_CopyToTrack( track, FX_ID, track, -1000, false)