OSC: Clear expand Lamp on strip observer destroy
authorLen Ovens <len@ovenwerks.net>
Tue, 5 Jul 2016 21:11:16 +0000 (14:11 -0700)
committerLen Ovens <len@ovenwerks.net>
Tue, 5 Jul 2016 21:11:16 +0000 (14:11 -0700)
libs/surfaces/osc/osc_route_observer.cc
libs/surfaces/osc/osc_select_observer.cc

index afb496002d90f6ee40631b5e07b00055bc7f757e..f56729e0fa4122f178809ab77722bb4a1333154e 100644 (file)
@@ -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
index 2d5c5f82962303a41f633959aa4be575ca0b4a6e..682391e1fb663d3ff2d57046cbc424945f01a4a3 100644 (file)
@@ -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