From 2d120598cbe5b935c6ab514685583dc506758026 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 21 Jan 2018 13:47:40 +0100 Subject: Read port index if requested regardless of context --- src/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Parser.cpp b/src/Parser.cpp index a8c53701..291b8851 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -141,7 +141,7 @@ get_port(Ingen::World* world, Properties props = get_properties(world, model, subject, ctx); // Get index if requested (for Graphs) - if (index && ctx == Resource::Graph::INTERNAL) { + if (index) { Properties::const_iterator i = props.find(uris.lv2_index); if (i == props.end() || i->second.type() != world->forge().Int -- cgit v1.2.1