diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-29 18:12:13 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:38 -0400 |
commit | 4d14ae4e23bc58e356dcda387213d0ba4ab6364b (patch) | |
tree | cbc6fe9183a5dfe6deadb66fa1b496301afeec01 /libs/pbd | |
parent | d2c405416c0c86d01f8b701ad2781e53d87410ae (diff) |
mostly restore VCA state on session loading.
This does not restore VCA assignments
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/controllable.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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)); |