Fix parameter range stuff and automation time axis height (somewhat...).
Create a new AutomationLine when an AutomationRegionView without a line is clicked. git-svn-id: svn://localhost/ardour2/branches/3.0@3757 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -53,7 +53,7 @@ ControlSet::what_has_data (set<Parameter>& s) const
|
||||
* for \a parameter does not exist.
|
||||
*/
|
||||
boost::shared_ptr<Control>
|
||||
ControlSet::control (Parameter parameter, bool create_if_missing)
|
||||
ControlSet::control (const Parameter& parameter, bool create_if_missing)
|
||||
{
|
||||
Controls::iterator i = _controls.find(parameter);
|
||||
|
||||
@@ -73,7 +73,7 @@ ControlSet::control (Parameter parameter, bool create_if_missing)
|
||||
}
|
||||
|
||||
boost::shared_ptr<const Control>
|
||||
ControlSet::control (Parameter parameter) const
|
||||
ControlSet::control (const Parameter& parameter) const
|
||||
{
|
||||
Controls::const_iterator i = _controls.find(parameter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user