mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
Don't show all controllers for generic MIDI devices.
This takes a VERY long time to do, so is probably a problem for defined devices with a ton of channels and devices, too. Not sure what the smart thing to do here is, though adding lanes really shouldn't be this slow in the first place.
This commit is contained in:
parent
7cc0669022
commit
7dc145767f
1 changed files with 2 additions and 1 deletions
|
|
@ -1234,7 +1234,8 @@ MidiTimeAxisView::show_all_automation (bool apply_to_selection)
|
|||
|
||||
// Show automation for all controllers named in midnam file
|
||||
boost::shared_ptr<MasterDeviceNames> device_names = get_device_names();
|
||||
if (device_names && !device_names->controls().empty()) {
|
||||
if (gui_property (X_("midnam-model-name")) != "Generic" &&
|
||||
device_names && !device_names->controls().empty()) {
|
||||
const std::string device_mode = _midnam_custom_device_mode_selector.get_active_text();
|
||||
const uint16_t selected_channels = midi_track()->get_playback_channel_mask();
|
||||
for (uint32_t chn = 0; chn < 16; ++chn) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue