X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmainsession.C;h=555a872e0b34667cb2e6322f61a9343f0a667200;hp=58ff172479581598d1a40bf0777e6d32532e3ecc;hb=205a66f9f2abd6eac72076f773ce5d75921fa151;hpb=fb3e53778e49a406768506de9bf8edfd3d4c36e6 diff --git a/cinelerra-5.1/cinelerra/mainsession.C b/cinelerra-5.1/cinelerra/mainsession.C index 58ff1724..555a872e 100644 --- a/cinelerra-5.1/cinelerra/mainsession.C +++ b/cinelerra-5.1/cinelerra/mainsession.C @@ -109,6 +109,7 @@ MainSession::MainSession(MWindow *mwindow) use_wave_gain = 5; use_vect_gain = 5; use_smooth = 0; + use_refresh = 0; use_graticule = 0; afolders_w = 0; show_vwindow = show_awindow = show_cwindow = show_gwindow = show_lwindow = 0; @@ -328,6 +329,7 @@ void MainSession::default_window_positions(int window_config) use_wave_gain = 5; use_vect_gain = 5; use_smooth = 1; + use_refresh = 0; use_graticule = 0; if(mwindow->edl) @@ -446,6 +448,7 @@ int MainSession::load_defaults(BC_Hash *defaults) use_wave_gain = defaults->get("USE_WAVE_GAIN", use_wave_gain); use_vect_gain = defaults->get("USE_VECT_GAIN", use_vect_gain); use_smooth = defaults->get("USE_SMOOTH", use_smooth); + use_refresh = defaults->get("USE_REFRESH", use_refresh); use_graticule = defaults->get("USE_GRATICULE", use_graticule); //printf("MainSession::load_defaults 1\n"); @@ -575,6 +578,7 @@ int MainSession::save_defaults(BC_Hash *defaults) defaults->update("USE_WAVE_GAIN", use_wave_gain); defaults->update("USE_VECT_GAIN", use_vect_gain); defaults->update("USE_SMOOTH", use_smooth); + defaults->update("USE_REFRESH", use_refresh); defaults->update("USE_GRATICULE", use_graticule); defaults->update("ABINS_W", afolders_w);