diff options
author | David Robillard <d@drobilla.net> | 2014-11-30 21:41:06 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-30 23:56:20 -0500 |
commit | b68fd1cc259eed8d6f67ce38458d95710063f24b (patch) | |
tree | ff3c957fc5ff94e6bbb270351f937642a45b13a9 /libs/evoral/src | |
parent | 0b48eb68f84b2782cce0b1fbc5eb88f025e5b704 (diff) |
Remove dead code.
Diffstat (limited to 'libs/evoral/src')
-rw-r--r-- | libs/evoral/src/ControlList.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/evoral/src/ControlList.cpp b/libs/evoral/src/ControlList.cpp index 2113755874..b1f10410ad 100644 --- a/libs/evoral/src/ControlList.cpp +++ b/libs/evoral/src/ControlList.cpp @@ -453,10 +453,6 @@ ControlList::editor_add (double when, double value) /* this is for making changes from a graphical line editor */ - if (!clamp_value (when, value)) { - return; - } - if (_events.empty()) { /* as long as the point we're adding is not at zero, @@ -487,10 +483,6 @@ ControlList::add (double when, double value, bool with_guards, bool with_default control surface (GUI, MIDI, OSC etc) */ - if (!clamp_value (when, value)) { - return; - } - DEBUG_TRACE (DEBUG::ControlList, string_compose ("@%1 add %2 at %3 w/erase = %4 (new ? %6) at end ? %5\n", this, value, when, _in_write_pass, (most_recent_insert_iterator == _events.end()), new_write_pass)); { |