Groups: Fix un/set hidden/show should reset RID for tracks involved.

This commit is contained in:
Len Ovens 2016-01-17 14:17:02 -08:00
parent d4aae03653
commit ef7c6730cb
2 changed files with 2 additions and 5 deletions

View File

@ -517,6 +517,7 @@ EditorRouteGroups::property_changed (RouteGroup* group, const PropertyChange&)
}
}
}
_editor->_routes->reset_remote_control_ids ();
}
void

View 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>