add new type of location, with _flags & IsSkip being non-zero
[ardour.git] / libs / ardour / session.cc
index e7dd6a9cd1088abe90260f3efeed380d87480f14..d22d7553caaed6bc6025093fc9c95e96c22d7027 100644 (file)
@@ -1355,7 +1355,7 @@ Session::sync_locations_to_skips (Locations::LocationList& locations)
 
                location = *i;
 
-               if (location->is_range_marker()) {
+               if (location->is_skip()) {
                        SessionEvent* ev = new SessionEvent (SessionEvent::LocateRoll, SessionEvent::Add, location->start(), location->end(), 1.0);
                        queue_event (ev);
                }