revert "show send" changes to mixer strip
This commit is contained in:
parent
c8797bdd5c
commit
80c3bd15e6
@ -606,11 +606,7 @@ MixerStrip::set_route (std::shared_ptr<Route> rt)
|
||||
*/
|
||||
processor_box.set_route (rt);
|
||||
|
||||
if (Profile->get_livetrax() && !rt->is_master()) {
|
||||
show_send (_route->master_send());
|
||||
} else {
|
||||
revert_to_default_display ();
|
||||
}
|
||||
revert_to_default_display ();
|
||||
|
||||
/* unpack these from the parent and stuff them into our own
|
||||
table
|
||||
@ -1524,54 +1520,46 @@ MixerStrip::hide_processor_editor (std::weak_ptr<Processor> p)
|
||||
void
|
||||
MixerStrip::reset_strip_style ()
|
||||
{
|
||||
if (!Profile->get_livetrax() && _current_delivery && std::dynamic_pointer_cast<Send>(_current_delivery)) {
|
||||
|
||||
gpm.unset_fader_fg ();
|
||||
gpm.set_fader_name ("SendStripBase");
|
||||
|
||||
} else {
|
||||
|
||||
if (is_midi_track()) {
|
||||
if (_route->active()) {
|
||||
set_name ("MidiTrackStripBase");
|
||||
} else {
|
||||
set_name ("MidiTrackStripBaseInactive");
|
||||
}
|
||||
if (UIConfiguration::instance().get_use_route_color_widely()) {
|
||||
// gpm.set_fader_bg ();
|
||||
gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint()));
|
||||
} else {
|
||||
gpm.unset_fader_fg ();
|
||||
}
|
||||
gpm.set_fader_name ("MidiTrackFader");
|
||||
} else if (is_audio_track()) {
|
||||
if (_route->active()) {
|
||||
set_name ("AudioTrackStripBase");
|
||||
} else {
|
||||
set_name ("AudioTrackStripBaseInactive");
|
||||
}
|
||||
if (UIConfiguration::instance().get_use_route_color_widely()) {
|
||||
// gpm.set_fader_bg ();
|
||||
gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint()));
|
||||
} else {
|
||||
gpm.unset_fader_fg ();
|
||||
}
|
||||
gpm.set_fader_name ("AudioTrackFader");
|
||||
if (is_midi_track()) {
|
||||
if (_route->active()) {
|
||||
set_name ("MidiTrackStripBase");
|
||||
} else {
|
||||
if (_route->active()) {
|
||||
set_name ("AudioBusStripBase");
|
||||
} else {
|
||||
set_name ("AudioBusStripBaseInactive");
|
||||
}
|
||||
|
||||
if (!is_master() && UIConfiguration::instance().get_use_route_color_widely()) {
|
||||
// gpm.set_fader_bg ();
|
||||
gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint()));
|
||||
} else {
|
||||
gpm.unset_fader_fg ();
|
||||
}
|
||||
gpm.set_fader_name ("AudioBusFader");
|
||||
set_name ("MidiTrackStripBaseInactive");
|
||||
}
|
||||
if (UIConfiguration::instance().get_use_route_color_widely()) {
|
||||
// gpm.set_fader_bg ();
|
||||
gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint()));
|
||||
} else {
|
||||
gpm.unset_fader_fg ();
|
||||
}
|
||||
gpm.set_fader_name ("MidiTrackFader");
|
||||
} else if (is_audio_track()) {
|
||||
if (_route->active()) {
|
||||
set_name ("AudioTrackStripBase");
|
||||
} else {
|
||||
set_name ("AudioTrackStripBaseInactive");
|
||||
}
|
||||
if (UIConfiguration::instance().get_use_route_color_widely()) {
|
||||
// gpm.set_fader_bg ();
|
||||
gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint()));
|
||||
} else {
|
||||
gpm.unset_fader_fg ();
|
||||
}
|
||||
gpm.set_fader_name ("AudioTrackFader");
|
||||
} else {
|
||||
if (_route->active()) {
|
||||
set_name ("AudioBusStripBase");
|
||||
} else {
|
||||
set_name ("AudioBusStripBaseInactive");
|
||||
}
|
||||
|
||||
if (!is_master() && UIConfiguration::instance().get_use_route_color_widely()) {
|
||||
// gpm.set_fader_bg ();
|
||||
gpm.set_fader_fg (gdk_color_to_rgba (route_color_tint()));
|
||||
} else {
|
||||
gpm.unset_fader_fg ();
|
||||
}
|
||||
gpm.set_fader_name ("AudioBusFader");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user