From 2d07e72d40ca51149578a539560060b6ea3406fc Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sat, 25 Jan 2020 11:27:31 -0600 Subject: Fix the ability to set Session Start&End Range on a new, empty session set_session_extents had a bug; it wasn't calling locations->add() on the newly created location. The correct implementation was in set_session_range_location, but this was only called from one place. This function was removed, and set_session_extents will be used in its place. set_session_extents will create a session location if one no longer exists, so there is no need for set_session_range_location. --- libs/ardour/ardour/session.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'libs/ardour/ardour/session.h') diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 3c01725740..807c2686eb 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -2033,8 +2033,6 @@ private: void rt_set_controls (boost::shared_ptr, double val, PBD::Controllable::GroupControlDisposition group_override); void rt_clear_all_solo_state (boost::shared_ptr, bool yn, PBD::Controllable::GroupControlDisposition group_override); - void set_session_range_location (samplepos_t, samplepos_t); - void setup_midi_machine_control (); void step_edit_status_change (bool); -- cgit v1.2.3