set overwrite on LV2_PATH pref env update
authorGood Guy <good1.2guy@gmail.com>
Fri, 5 Apr 2019 03:12:17 +0000 (21:12 -0600)
committerGood Guy <good1.2guy@gmail.com>
Fri, 5 Apr 2019 03:12:17 +0000 (21:12 -0600)
cinelerra-5.1/cinelerra/mwindow.C

index 14d06c93d7ce38e60a5ec28eb9f4cb9384071367..09e363cdca62e3fa1ce94625607311dfa96de792 100644 (file)
@@ -939,7 +939,7 @@ void MWindow::init_preferences()
 {
        preferences = new Preferences;
        preferences->load_defaults(defaults);
-       File::setenv_path("LV2_PATH",preferences->lv2_path, 0);
+       File::setenv_path("LV2_PATH",preferences->lv2_path, 1);
        session = new MainSession(this);
        session->load_defaults(defaults);
        // set x11_host, screens, window_config