From 57b9dab27cb05df8fa629dc9f8215cbaf2899be5 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 3 Feb 2016 11:42:40 -0500 Subject: [PATCH] manually revert ec8cf4e4 with an extra comment explaining the significance --- libs/pbd/controllable.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/pbd/controllable.cc b/libs/pbd/controllable.cc index a1144286ad..2e4b169c53 100644 --- a/libs/pbd/controllable.cc +++ b/libs/pbd/controllable.cc @@ -115,7 +115,11 @@ Controllable::get_state () * Bytes: 0xB5 0x2D 0x69 0x6E * add_property (X_("name"), _name); // not reloaded from XML state, just there to look at + + // this is not reloaded from XML, but it must be present because it is + // used to find and identify XML nodes by various Controllable-derived objects + + node->add_property (X_("name"), _name); id().print (buf, sizeof (buf)); node->add_property (X_("id"), buf);