Do MMC on playhead drag more efficiently by not doing an actual locate.

git-svn-id: svn://localhost/ardour2/branches/3.0@7370 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-07-05 01:13:36 +00:00
parent 8216700080
commit c36132271b
3 changed files with 13 additions and 8 deletions

View file

@ -2138,8 +2138,7 @@ CursorDrag::motion (GdkEvent* event, bool)
_editor->show_verbose_time_cursor (_cursor->current_frame, 10);
if (_editor->session() && _item == &_editor->playhead_cursor->canvas_item) {
_editor->session()->request_locate (_editor->playhead_cursor->current_frame, false);
_editor->_pending_locate_request = true;
_editor->session()->send_mmc_locate (_editor->playhead_cursor->current_frame);
}