diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-03 11:42:40 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-03 11:45:23 -0500 |
commit | 57b9dab27cb05df8fa629dc9f8215cbaf2899be5 (patch) | |
tree | fb481336088757b56dd040ba66a8b5c0d3c24b13 /libs/pbd/controllable.cc | |
parent | dd05f1e257f8a715d23625bb725a727c57c4c0b6 (diff) |
manually revert ec8cf4e4 with an extra comment explaining the significance
Diffstat (limited to 'libs/pbd/controllable.cc')
-rw-r--r-- | libs/pbd/controllable.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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 * <Controllable name="�-iness" id="2391" flags="" value="0.000000000000" p */ - //node->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); |