summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-21 13:55:49 +0200
committerRobin Gareus <robin@gareus.org>2017-06-21 18:13:36 +0200
commit8cd8cb165037906d5a35c8e147785845d0f4f808 (patch)
tree81176c9ed1e90a44953370729a6b0f1091bebe10 /gtk2_ardour/automation_time_axis.cc
parentd85ce601589451f834b690c3c0da1df66d025700 (diff)
Temporary session-format compatibility (revert before release)
Saving the new ControlList interpolation methods (enum) breaks loading the session in older version. The session-format version will need to be increased. Until then: * Fader automation + region gain envelope uses linear fades * The automation-line visible in the GUI does not match the actual fade (the y-axis is log/exp-scale, the fade is linear) * Adding new points on the line is not using the correct initial value * Custom changes of interpolation mode are not available Neither of these issues is a regression.
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r--gtk2_ardour/automation_time_axis.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc
index 5e1395ff65..011c53997f 100644
--- a/gtk2_ardour/automation_time_axis.cc
+++ b/gtk2_ardour/automation_time_axis.cc
@@ -624,7 +624,7 @@ AutomationTimeAxisView::build_display_menu ()
items.push_back (MenuElem (_("Mode"), *auto_mode_menu));
} else {
-
+#ifdef XXX_NEW_INTERPOLATON__BREAK_SESSION_FORMAT_XXX
Menu* auto_mode_menu = manage (new Menu);
auto_mode_menu->set_name ("ArdourContextMenu");
MenuList& am_items = auto_mode_menu->items();
@@ -664,6 +664,7 @@ AutomationTimeAxisView::build_display_menu ()
delete auto_mode_menu;
auto_mode_menu = 0;
}
+#endif
}
/* make sure the automation menu state is correct */