OSC: select is global not per surface.
authorLen Ovens <len@ovenwerks.net>
Mon, 4 Jul 2016 15:27:16 +0000 (08:27 -0700)
committerLen Ovens <len@ovenwerks.net>
Mon, 4 Jul 2016 15:27:16 +0000 (08:27 -0700)
libs/surfaces/osc/osc.cc

index 57eb6c0f7a3cd8efa6d4df37ea8b926f3c64c4b1..9b5cfeb4411b5b0e6af449b3c13b5db0d6f0b96b 100644 (file)
@@ -2620,9 +2620,9 @@ OSC::gui_selection_changed (StripableNotificationListPtr stripables)
                strip = boost::dynamic_pointer_cast<Stripable>(session->get_editor_mixer().lock());
        }
        if (strip) {
+               _select = strip;
                for (uint32_t it = 0; it < _surface.size(); ++it) {
                        OSCSurface* sur = &_surface[it];
-                       _select = strip;
                        if(!sur->expand_enable) {
                                lo_address addr = lo_address_new_from_url (sur->remote_url.c_str());
                                _strip_select (strip, addr);