result = 1;
break;
}
- if( strcmp(cin_version, CINELERRA_VERSION) ) {
+ if( strcmp(cin_version, CINELERRA_VERSION) &&
+ strcmp(cin_version, "5.1") ) {
char string[BCTEXTLEN];
snprintf(string, sizeof(string),
_("Warning: XML from cinelerra version %s\n"
sync_parameters(CHANGE_PARAMS);
}
-//void MWindow::set_titles(int value)
-//{
-// edl->session->show_titles = value;
-// trackmovement(edl->local_session->track_start);
-//}
-
void MWindow::set_screens(int value)
{
screens = value;
set_editing_mode(EDITING_ARROW, 0, 1);
}
+void MWindow::toggle_camera_xyz()
+{
+ gwindow->gui->lock_window("MWindow::toggle_camera_xyz");
+ gwindow->gui->toggle_camera_xyz();
+ gwindow->gui->unlock_window();
+}
+
+void MWindow::toggle_projector_xyz()
+{
+ gwindow->gui->lock_window("MWindow::toggle_projector_xyz");
+ gwindow->gui->toggle_projector_xyz();
+ gwindow->gui->unlock_window();
+}
void MWindow::set_labels_follow_edits(int value)
{
void MWindow::save_undo_data()
{
+ undo->update_undo_before();
+ undo->update_undo_after(_("perpetual session"), LOAD_ALL);
char perpetual_path[BCTEXTLEN];
snprintf(perpetual_path, sizeof(perpetual_path), "%s/%s",
File::get_config_path(), PERPETUAL_FILE);