X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fatrack.C;h=5ba270e69d928fd6b29e37bcbdeb2bdd1d455cc4;hb=255afe5bf50d8e2d10075c0b8ab0f88efbe91570;hp=9aceea0926604109c78a98e3dc5bc5cde2901086;hpb=3f6a262cfe390b3f8b275297d64565a5b6272969;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/atrack.C b/cinelerra-5.1/cinelerra/atrack.C index 9aceea09..5ba270e6 100644 --- a/cinelerra-5.1/cinelerra/atrack.C +++ b/cinelerra-5.1/cinelerra/atrack.C @@ -106,11 +106,9 @@ void ATrack::create_objects() int ATrack::vertical_span(Theme *theme) { int track_h = Track::vertical_span(theme); - int patch_h = 0; - if(expand_view) - { - patch_h += theme->title_h + theme->play_h + theme->fade_h + theme->meter_h + theme->pan_h; - } + int patch_h = theme->title_h; + if( expand_view ) + patch_h += theme->play_h + theme->fade_h + theme->meter_h + theme->pan_h; return MAX(track_h, patch_h); } @@ -175,15 +173,3 @@ int ATrack::paste_derived(int64_t start, int64_t end, int64_t total_length, File return 0; } -void ATrack::deglitch(double position, - int edit_labels, int edit_plugins, int edit_autos) -{ - int64_t samples = to_units(position, 0); - edits->deglitch(samples); - if( edit_plugins ) { - for(int i = 0; i < plugin_set.size(); i++) { - plugin_set.get(i)->deglitch(samples); - } - } -} -