diff options
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r-- | src/server/PortImpl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp index 9a701d39..3302ff95 100644 --- a/src/server/PortImpl.cpp +++ b/src/server/PortImpl.cpp @@ -84,7 +84,9 @@ PortImpl::PortImpl(BufferFactory& bufs, set_type(type, buffer_type); - set_property(uris.lv2_index, bufs.forge().make((int32_t)index), Resource::Graph::INTERNAL); + remove_property(uris.lv2_index, uris.patch_wildcard); + set_property(uris.lv2_index, bufs.forge().make((int32_t)index)); + if (has_value()) { set_property(uris.ingen_value, value); } |