projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4326111
)
persistent waveform shape setting.
author
Robin Gareus
<robin@gareus.org>
Mon, 26 May 2014 22:33:42 +0000
(
00:33
+0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 27 May 2014 14:37:01 +0000
(16:37 +0200)
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.
gtk2_ardour/audio_region_view.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/audio_region_view.cc
b/gtk2_ardour/audio_region_view.cc
index add985dd6f13f2c2301774373df7e588833ba23e..1d867a157e377b571ae50e82d84fd1555043dadc 100644
(file)
--- a/
gtk2_ardour/audio_region_view.cc
+++ b/
gtk2_ardour/audio_region_view.cc
@@
-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