diff options
author | Carl Hetherington <carl@carlh.net> | 2010-02-11 17:08:34 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-02-11 17:08:34 +0000 |
commit | 3a27410dcbaaca10480ffc14770b41c11e9ca1da (patch) | |
tree | 0b017597b99f3279dc3981033382a4d3f18a2b14 /libs/ardour/audioregion.cc | |
parent | 24fbade20a831fe629ed9bbc1d68a33ac1bd4d74 (diff) |
More tinkering with State<>. Use some StateDiffCommands instead of
MementoCommand<Region>. More use of State<> for Region members.
git-svn-id: svn://localhost/ardour2/branches/3.0@6675 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audioregion.cc')
-rw-r--r-- | libs/ardour/audioregion.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc index 7485ac6913..c96f7119b8 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -305,12 +305,9 @@ void AudioRegion::set_envelope_active (bool yn) { if (envelope_active() != yn) { - char buf[64]; if (yn) { - snprintf (buf, sizeof (buf), "envelope active"); _flags = Flag (_flags|EnvelopeActive); } else { - snprintf (buf, sizeof (buf), "envelope off"); _flags = Flag (_flags & ~EnvelopeActive); } send_change (EnvelopeActiveChanged); |