There is much simpler version diff --git a/cinelerra-5.1/cinelerra/mwindow.C b/cinelerra-5.1/cinelerra/mwindow.C index 04549fde..ded1603e 100644 --- a/cinelerra-5.1/cinelerra/mwindow.C +++ b/cinelerra-5.1/cinelerra/mwindow.C @@ -2211,8 +2211,9 @@ if(debug) printf("MWindow::load_filenames %d\n", __LINE__); if( strcmp(cin_version, CINELERRA_VERSION) && strcmp(cin_version, "Unify") && strcmp(cin_version, "5.1") ) { + if (preferences->warn_version) eprintf(_("Warning: XML from cinelerra version %s\n" - "Session data may be incompatible."), cin_version); + "Session data may be incompatible."), cin_version); } if( new_edl->load_xml(&xml_file, LOAD_ALL) ) { eprintf(_("Error: unable to load:\n %s"), filename);
---- With this patch it shows warning in same window where plugin mismatch warn shows it, so it remain more compact.. Again, not sure if we want to extend or repair or remove this *toggle* altogether ..... I think this warning can be set to 'always display' now, when it doesn't spawn their own window. PS: My non-loading old project was simply because by now CinGG tries to 'Create resources only' first I switched it back to loading/replacing current proj, and it showed up.
diff --git a/cinelerra-5.1/cinelerra/mwindow.C b/cinelerra-5.1/cinelerra/mwindow.C index 04549fde..ded1603e 100644 --- a/cinelerra-5.1/cinelerra/mwindow.C +++ b/cinelerra-5.1/cinelerra/mwindow.C @@ -2211,8 +2211,9 @@ if(debug) printf("MWindow::load_filenames %d\n", __LINE__); if( strcmp(cin_version, CINELERRA_VERSION) && strcmp(cin_version, "Unify") && strcmp(cin_version, "5.1") ) { + if (preferences->warn_version) eprintf(_("Warning: XML from cinelerra version %s\n" - "Session data may be incompatible."), cin_version); + "Session data may be incompatible."), cin_version); } if( new_edl->load_xml(&xml_file, LOAD_ALL) ) { eprintf(_("Error: unable to load:\n %s"), filename);
-- Cin mailing list Cin@lists.cinelerra-gg.org https://lists.cinelerra-gg.org/mailman/listinfo/cin