summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-02 23:26:58 +0000
committerDavid Robillard <d@drobilla.net>2011-10-02 23:26:58 +0000
commitfaa4a675feeba39d81b44340e874e7114755ea86 (patch)
tree7475a4bf3e8c233d41ac47473f4c8d5021804388 /src
parent55c9839597021cb01b290b442ad0c9054b934520 (diff)
downloadingen-faa4a675feeba39d81b44340e874e7114755ea86.tar.gz
ingen-faa4a675feeba39d81b44340e874e7114755ea86.tar.bz2
ingen-faa4a675feeba39d81b44340e874e7114755ea86.zip
Fix support for ports with multiple lv2:portProperty properties.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3521 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/server/LV2Node.cpp2
-rw-r--r--src/server/events/Connect.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp
index 8b8b1b29..6364266e 100644
--- a/src/server/LV2Node.cpp
+++ b/src/server/LV2Node.cpp
@@ -303,7 +303,7 @@ LV2Node::instantiate(BufferFactory& bufs)
LILV_FOREACH(nodes, i, properties) {
const LilvNode* p = lilv_nodes_get(properties, i);
if (lilv_node_is_uri(p)) {
- port->set_property(uris.lv2_portProperty, Raul::URI(lilv_node_as_uri(p)));
+ port->add_property(uris.lv2_portProperty, Raul::URI(lilv_node_as_uri(p)));
}
}
diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp
index b67eacbc..da7aa593 100644
--- a/src/server/events/Connect.cpp
+++ b/src/server/events/Connect.cpp
@@ -215,7 +215,6 @@ Connect::post_process()
_request->respond_error(ss.str());
}
+} // namespace Events
} // namespace Server
} // namespace Ingen
-} // namespace Events
-