X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Flocalsession.C;h=50837a135044536a7949a27a6fa6693880cdba46;hb=7ffa6954689f14a41a3bae7a0fdb3f2abeaa9679;hp=0465795f50dd7bdb12ebc88a9e5c66af58f28b83;hpb=a64e7d16c44bba0d137936227fc55871bb26c903;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/localsession.C b/cinelerra-5.1/cinelerra/localsession.C index 0465795f..50837a13 100644 --- a/cinelerra-5.1/cinelerra/localsession.C +++ b/cinelerra-5.1/cinelerra/localsession.C @@ -64,6 +64,7 @@ LocalSession::LocalSession(EDL *edl) strcpy(clip_notes, _("Hello world")); strcpy(clip_icon, ""); clipboard_length = 0; + asset2edl = 0; loop_playback = 0; loop_start = loop_end = 0; playback_start = -1; @@ -108,6 +109,7 @@ LocalSession::LocalSession(EDL *edl) red = green = blue = 0; red_max = green_max = blue_max = 0; use_max = 0; + solo_track_id = -1; } LocalSession::~LocalSession() @@ -147,6 +149,7 @@ void LocalSession::copy_from(LocalSession *that) green_max = that->green_max; blue_max = that->blue_max; use_max = that->use_max; + solo_track_id = that->solo_track_id; for (int i = 0; i < AUTOGROUPTYPE_COUNT; i++) { automation_mins[i] = that->automation_mins[i]; @@ -237,6 +240,8 @@ void LocalSession::synchronize_params(LocalSession *that) red_max = that->red_max; green_max = that->green_max; blue_max = that->blue_max; + if( solo_track_id < 0 || that->solo_track_id < 0 ) + solo_track_id = that->solo_track_id; }