diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-09-25 13:02:31 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-09-25 13:02:31 -0600 |
commit | 468731c14b9bde769b79ae1a88277701f3f9d068 (patch) | |
tree | bd366db36c59109b3d2023826d644ff57c1da394 /libs/panners/1in2out | |
parent | 5ec5bc4523e5c0fd998a6a133c6a03ab1475f063 (diff) |
goodbye Profile->...trx
Diffstat (limited to 'libs/panners/1in2out')
-rw-r--r-- | libs/panners/1in2out/panner_1in2out.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/panners/1in2out/panner_1in2out.cc b/libs/panners/1in2out/panner_1in2out.cc index 68a0237edf..de7621ddb3 100644 --- a/libs/panners/1in2out/panner_1in2out.cc +++ b/libs/panners/1in2out/panner_1in2out.cc @@ -76,11 +76,9 @@ extern "C" ARDOURPANNER_API PanPluginDescriptor* panner_descriptor () { return Panner1in2out::Panner1in2out (boost::shared_ptr<Pannable> p) : Panner (p) { - if (!Profile->get_trx () ) { - if (!_pannable->has_state ()) { - _pannable->pan_azimuth_control->set_value (0.5, Controllable::NoGroup); - } - } + if (!_pannable->has_state ()) { + _pannable->pan_azimuth_control->set_value (0.5, Controllable::NoGroup); + } update (); |