Don't let audio markers snap to themselves
Originally committed to SVN as r6101.
This commit is contained in:
parent
5e9339611b
commit
0892de62a8
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ public:
|
|||
controller->GetMarkers(snap_sample_range, potential_snaps);
|
||||
for (AudioMarkerVector::iterator mi = potential_snaps.begin(); mi != potential_snaps.end(); ++mi)
|
||||
{
|
||||
if ((*mi)->CanSnap())
|
||||
if (*mi != marker && (*mi)->CanSnap())
|
||||
{
|
||||
if (!snap_marker)
|
||||
snap_marker = *mi;
|
||||
|
|
Loading…
Reference in a new issue