Add support for Region Fx Automation

This commit is contained in:
Robin Gareus 2024-04-17 03:53:30 +02:00
parent e5506d281a
commit b2d4280e0f
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
22 changed files with 552 additions and 202 deletions

View file

@ -4833,7 +4833,7 @@ Editor::cut_copy_points (Editing::CutCopyOp op, timepos_t const & earliest_time)
bool erase = true;
if (dynamic_cast<AudioRegionGainLine*> (&line)) {
if (dynamic_cast<RegionFxLine*> (&line)) {
/* removing of first and last gain point in region gain lines is prohibited*/
if (line.is_last_point (*(*sel_point)) || line.is_first_point (*(*sel_point))) {
erase = false;