}
range_marker_drag_rect->property_y1() = y1;
- range_marker_drag_rect->property_y2() = y1 + canvas_height;
+ range_marker_drag_rect->property_y2() = full_canvas_height;
transport_loop_range_rect->property_y1() = y1;
- transport_loop_range_rect->property_y2() = y1 + canvas_height;
+ transport_loop_range_rect->property_y2() = full_canvas_height;
transport_punch_range_rect->property_y1() = y1;
- transport_punch_range_rect->property_y2() = y1 + canvas_height;
+ transport_punch_range_rect->property_y2() = full_canvas_height;
transport_punchin_line->property_y1() = y1;
- transport_punchin_line->property_y2() = y1 + canvas_height;
+ transport_punchin_line->property_y2() = full_canvas_height;
transport_punchout_line->property_y1() = y1;
- transport_punchout_line->property_y2() = y1 + canvas_height;
+ transport_punchout_line->property_y2() = full_canvas_height;
update_fixed_rulers();
redisplay_tempo (true);
playhead_cursor->set_y_axis (y1);
range_marker_drag_rect->property_y1() = y1;
- range_marker_drag_rect->property_y2() = y1 + canvas_height;
+ range_marker_drag_rect->property_y2() = full_canvas_height;
transport_loop_range_rect->property_y1() = y1;
- transport_loop_range_rect->property_y2() = y1 + canvas_height;
+ transport_loop_range_rect->property_y2() = full_canvas_height;
transport_punch_range_rect->property_y1() = y1;
- transport_punch_range_rect->property_y2() = y1 + canvas_height;
+ transport_punch_range_rect->property_y2() = full_canvas_height;
transport_punchin_line->property_y1() = y1;
- transport_punchin_line->property_y2() = y1 + canvas_height;
+ transport_punchin_line->property_y2() = full_canvas_height;
transport_punchout_line->property_y1() = y1;
- transport_punchout_line->property_y2() = y1 + canvas_height;
+ transport_punchout_line->property_y2() = full_canvas_height;
if (!selection->markers.empty()) {
for (MarkerSelection::iterator x = selection->markers.begin(); x != selection->markers.end(); ++x) {
return (*i)->load (session);
}
}
+
+#ifdef VST_SUPPORT
+ /* hmm, we didn't find it. could be because in older versions of Ardour.
+ we used to store the name of a VST plugin, not its unique ID. so try
+ again.
+ */
+
+ for (i = plugs.begin(); i != plugs.end(); ++i) {
+ if (identifier == (*i)->name){
+ return (*i)->load (session);
+ }
+ }
+#endif
return PluginPtr ((Plugin*) 0);
}