persistent waveform shape setting.

NOTE: the call to set_global_shape() only needs to happen once,
presumably in a hook in the editor that catches Config::Changed

The same is true for waveform-scale and clipping. But for now it's
at least consistent.
This commit is contained in:
Robin Gareus 2014-05-27 00:33:42 +02:00
parent 432611113d
commit a8f11b6004

View File

@ -1271,9 +1271,7 @@ AudioRegionView::setup_waveform_shape ()
default:
shape = WaveView::Normal;
}
for (vector<WaveView *>::iterator wave = waves.begin(); wave != waves.end() ; ++wave) {
(*wave)->set_shape (shape);
}
WaveView::set_global_shape (shape);
}
void