Allow markers to be glued to bar/beat time. Fixes #1815.
[ardour.git] / libs / ardour / session_process.cc
index f4f2c5ad0eca56445774af9b676913276e468a85..6889e714fda67bdd69dfd303dbf901b7f0c3d32f 100644 (file)
@@ -608,7 +608,7 @@ Session::track_slave_state (float slave_speed, nframes_t slave_transport_frame,
 
                                _slave_state = Running;
 
-                               Location* al = _locations.auto_loop_location();
+                               Location* al = _locations->auto_loop_location();
 
                                if (al && play_loop && (slave_transport_frame < al->start() || slave_transport_frame > al->end())) {
                                        // cancel looping