mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
automation line: use return value from (new API) model-to-view method
This commit is contained in:
parent
44f169bc56
commit
389577b1e9
1 changed files with 1 additions and 1 deletions
|
|
@ -1176,7 +1176,7 @@ AutomationTimeAxisView::cut_copy_clear_one (AutomationLine& line, Selection& sel
|
|||
for (AutomationList::iterator x = what_we_got->begin(); x != what_we_got->end(); ++x) {
|
||||
timepos_t when = (*x)->when;
|
||||
double val = (*x)->value;
|
||||
line.model_to_view_coord_y (val);
|
||||
val = line.model_to_view_coord_y (val);
|
||||
(*x)->when = when;
|
||||
(*x)->value = val;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue