summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-02 21:00:16 -0400
committerDavid Robillard <d@drobilla.net>2016-10-02 23:01:13 -0400
commit97d25d127249ebe8558c019a968fe43303bea3f6 (patch)
treedab8f68ee3b8091778c912408a13b001f7525ff4 /src/server
parenta6c193970cd7944a4ff364ae9b3abf02a9e3034f (diff)
downloadingen-97d25d127249ebe8558c019a968fe43303bea3f6.tar.gz
ingen-97d25d127249ebe8558c019a968fe43303bea3f6.tar.bz2
ingen-97d25d127249ebe8558c019a968fe43303bea3f6.zip
Fix saving and loading subgraphs
Diffstat (limited to 'src/server')
-rw-r--r--src/server/PortImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index 26fdd6cb..f09cfd6e 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -1,6 +1,6 @@
/*
This file is part of Ingen.
- Copyright 2007-2015 David Robillard <http://drobilla.net/>
+ Copyright 2007-2016 David Robillard <http://drobilla.net/>
Ingen is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
@@ -84,7 +84,7 @@ PortImpl::PortImpl(BufferFactory& bufs,
set_type(type, buffer_type);
- set_property(uris.lv2_index, bufs.forge().make((int32_t)index));
+ set_property(uris.lv2_index, bufs.forge().make((int32_t)index), Resource::Graph::INTERNAL);
if (has_value()) {
set_property(uris.ingen_value, value);
}