automation line: use return value from (new API) model-to-view method
This commit is contained in:
parent
44f169bc56
commit
389577b1e9
@ -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…
Reference in New Issue
Block a user