Groups: Fix un/set hidden/show should reset RID for tracks involved.
authorLen Ovens <len@ovenwerks.net>
Sun, 17 Jan 2016 22:17:02 +0000 (14:17 -0800)
committerLen Ovens <len@ovenwerks.net>
Sun, 17 Jan 2016 22:17:02 +0000 (14:17 -0800)
gtk2_ardour/editor_route_groups.cc
libs/surfaces/mackie/mackie_control_protocol.cc

index 041cef889253130a003189ebb3b041a507fd42e8..85644359f6fa747836f107e6824edaae0c0396aa 100644 (file)
@@ -517,6 +517,7 @@ EditorRouteGroups::property_changed (RouteGroup* group, const PropertyChange&)
                        }
                }
        }
+       _editor->_routes->reset_remote_control_ids ();
 }
 
 void
index 2580fa9672c2ef0e098e3dea9581466956a59186..1afc2d7a3482e2ba77b562785b51ed5e96dcf210 100644 (file)
@@ -2243,11 +2243,7 @@ MackieControlProtocol::is_hidden (boost::shared_ptr<Route> r) const
        if (!r) {
                return false;
        }
-       bool group = false;
-       if (r->route_group()) {
-               group = r->route_group()->is_hidden();
-       }
-       return (((r->remote_control_id()) >>31) != 0) || group;
+       return (((r->remote_control_id()) >>31) != 0);
 }
 
 boost::shared_ptr<Route>