aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-21 13:47:40 +0100
committerDavid Robillard <d@drobilla.net>2018-01-21 13:47:40 +0100
commit2d120598cbe5b935c6ab514685583dc506758026 (patch)
tree8a16b602036f140e58bdc818a36a7bef992e03f9 /src
parent758eb81e8f9c8779b7292205437edde4e9cce30a (diff)
downloadingen-2d120598cbe5b935c6ab514685583dc506758026.tar.gz
ingen-2d120598cbe5b935c6ab514685583dc506758026.tar.bz2
ingen-2d120598cbe5b935c6ab514685583dc506758026.zip
Read port index if requested regardless of context
Diffstat (limited to 'src')
-rw-r--r--src/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
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