Fix invisible discrete control points.
This commit is contained in:
parent
c1cfa12d6e
commit
73ad993597
@ -177,7 +177,11 @@ AutomationLine::update_visibility ()
|
||||
} else {
|
||||
line->hide ();
|
||||
for (vector<ControlPoint*>::iterator i = control_points.begin(); i != control_points.end(); ++i) {
|
||||
(*i)->hide ();
|
||||
if (_visible & ControlPoints) {
|
||||
(*i)->show ();
|
||||
} else {
|
||||
(*i)->hide ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user