mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 20:22:13 +01:00
Cut from flat TimeTrack does not leave unnecessary points...
... And more generally, Envelope::CollapseRegion, should it be reused more widely, is responsible for removing the points; WaveTrack code is relieved of that.
This commit is contained in:
@@ -1140,7 +1140,6 @@ void WaveTrack::HandleClear(double t0, double t1,
|
||||
|
||||
// clip->Clear keeps points < t0 and >= t1 via Envelope::CollapseRegion
|
||||
newClip->Clear(t0,t1);
|
||||
newClip->GetEnvelope()->RemoveUnneededPoints(t0);
|
||||
|
||||
clipsToAdd.push_back( std::move( newClip ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user