From 4d14ae4e23bc58e356dcda387213d0ba4ab6364b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 29 Feb 2016 18:12:13 -0500 Subject: mostly restore VCA state on session loading. This does not restore VCA assignments --- libs/pbd/controllable.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libs/pbd') diff --git a/libs/pbd/controllable.cc b/libs/pbd/controllable.cc index 6b92e84926..a4c097c3f0 100644 --- a/libs/pbd/controllable.cc +++ b/libs/pbd/controllable.cc @@ -22,6 +22,7 @@ #include "pbd/xml++.h" #include "pbd/error.h" #include "pbd/locale_guard.h" +#include "pbd/stacktrace.h" #include "i18n.h" @@ -121,6 +122,10 @@ Controllable::get_state () node->add_property (X_("name"), _name); + if (_name == "gaincontrol") { + PBD::stacktrace (cerr, 20); + } + id().print (buf, sizeof (buf)); node->add_property (X_("id"), buf); node->add_property (X_("flags"), enum_2_string (_flags)); -- cgit v1.2.3