projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df83cd7
)
use region sync points correctly for grid and PH motion (i hope)
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 23 Mar 2009 20:10:14 +0000
(20:10 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 23 Mar 2009 20:10:14 +0000
(20:10 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4884
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_ops.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_ops.cc
b/gtk2_ardour/editor_ops.cc
index fe30c731cd44690a63d276379cae5440d3294b8a..2e546268da851c3a0b643e27cb0c179932a06add 100644
(file)
--- 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;
}