diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-03-23 20:10:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-03-23 20:10:14 +0000 |
commit | 798b0de7f564b05e10acc66440f51a0009f320c8 (patch) | |
tree | d4e710154f0477caa40dfeb9dc0d8505ef9122c3 | |
parent | df83cd7e5c48b1eac170522729f491d89291445f (diff) |
use region sync points correctly for grid and PH motion (i hope)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4884 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index fe30c731cd..2e546268da 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -688,7 +688,8 @@ Editor::build_region_boundary_cache () break; case SyncPoint: - rpos = r->adjust_to_sync (r->first_frame()); + rpos = r->sync_position (); + //r->adjust_to_sync (r->first_frame()); break; default: @@ -774,7 +775,8 @@ Editor::find_next_region (nframes64_t frame, RegionPoint point, int32_t dir, Tra break; case SyncPoint: - rpos = r->adjust_to_sync (r->first_frame()); + rpos = r->sync_position (); + // r->adjust_to_sync (r->first_frame()); break; } @@ -946,7 +948,8 @@ Editor::cursor_to_region_point (Cursor* cursor, RegionPoint point, int32_t dir) break; case SyncPoint: - pos = r->adjust_to_sync (r->first_frame()); + pos = r->sync_position (); + // r->adjust_to_sync (r->first_frame()); break; } |