From 860ffed6d17c6eaa3d947b905c1c1118fb147924 Mon Sep 17 00:00:00 2001 From: Len Ovens Date: Tue, 5 Jul 2016 14:11:16 -0700 Subject: OSC: Clear expand Lamp on strip observer destroy --- libs/surfaces/osc/osc_route_observer.cc | 1 + libs/surfaces/osc/osc_select_observer.cc | 1 + 2 files changed, 2 insertions(+) (limited to 'libs/surfaces') diff --git a/libs/surfaces/osc/osc_route_observer.cc b/libs/surfaces/osc/osc_route_observer.cc index afb496002d..f56729e0fa 100644 --- a/libs/surfaces/osc/osc_route_observer.cc +++ b/libs/surfaces/osc/osc_route_observer.cc @@ -102,6 +102,7 @@ OSCRouteObserver::~OSCRouteObserver () strip_connections.drop_connections (); // all strip buttons should be off and faders 0 and etc. + clear_strip ("/strip/expand", 0); if (feedback[0]) { // buttons are separate feedback lo_message msg = lo_message_new (); // name is a string do it first diff --git a/libs/surfaces/osc/osc_select_observer.cc b/libs/surfaces/osc/osc_select_observer.cc index 2d5c5f8296..682391e1fb 100644 --- a/libs/surfaces/osc/osc_select_observer.cc +++ b/libs/surfaces/osc/osc_select_observer.cc @@ -136,6 +136,7 @@ OSCSelectObserver::~OSCSelectObserver () strip_connections.drop_connections (); // all strip buttons should be off and faders 0 and etc. + clear_strip ("/select/expand", 0); if (feedback[0]) { // buttons are separate feedback lo_message msg = lo_message_new (); // name is a string do it first -- cgit v1.2.3