user-configurable VST search paths (basic UI)
[ardour.git] / gtk2_ardour / route_time_axis.cc
index 29794eb54f3fe52d40d23a5345713cf50dc975ec..715eec53b4bc219234958a4df6bef520b91b8dca 100644 (file)
 #include "ardour/route_group.h"
 #include "ardour/session.h"
 #include "ardour/session_playlists.h"
+
 #include "evoral/Parameter.hpp"
 
+#include "canvas/debug.h"
+
 #include "ardour_ui.h"
 #include "ardour_button.h"
 #include "debug.h"
@@ -111,6 +114,10 @@ RouteTimeAxisView::set_route (boost::shared_ptr<Route> rt)
 {
        RouteUI::set_route (rt);
 
+       CANVAS_DEBUG_NAME (_canvas_display, string_compose ("main for %1", rt->name()));
+       CANVAS_DEBUG_NAME (selection_group, string_compose ("selections for %1", rt->name()));
+       CANVAS_DEBUG_NAME (_ghost_group, string_compose ("ghosts for %1", rt->name()));
+
        int meter_width = 3;
        if (_route && _route->shared_peak_meter()->input_streams().n_total() == 1) {
                meter_width = 6;
@@ -2249,6 +2256,8 @@ RouteTimeAxisView::meter_changed ()
        if (_route && !no_redraw) {
                request_redraw ();
        }
+       // reset peak when meter point changes
+       gm.reset_peak_display();
 }
 
 void