From faa4a675feeba39d81b44340e874e7114755ea86 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 2 Oct 2011 23:26:58 +0000 Subject: 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 --- src/server/LV2Node.cpp | 2 +- src/server/events/Connect.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/server') 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 - -- cgit v1.2.1