From 75c15679bf1551dcb93d4fa62075517c66d3b222 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 19 Feb 2009 19:42:25 +0000 Subject: Only create a Curve for an AutomationList if we need it. Fix crash on crossfade editor show (ticket 2442). git-svn-id: svn://localhost/ardour2/branches/3.0@4641 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/automation_list.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour/automation_list.h') diff --git a/libs/ardour/ardour/automation_list.h b/libs/ardour/ardour/automation_list.h index 923967448c..7ede9f019a 100644 --- a/libs/ardour/ardour/automation_list.h +++ b/libs/ardour/ardour/automation_list.h @@ -85,6 +85,7 @@ class AutomationList : public PBD::StatefulDestructible, public Evoral::ControlL XMLNode& serialize_events (); private: + void create_curve_if_necessary (); int deserialize_events (const XMLNode&); void maybe_signal_changed (); -- cgit v1.2.3