diff options
author | David Robillard <d@drobilla.net> | 2012-11-18 18:46:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-11-18 18:46:53 +0000 |
commit | d358cae57b7233bf6b781686979fc4dea4d090b3 (patch) | |
tree | e60f45f73892fd62fea6caef507567c57722b5b9 /src/serialisation/Serialiser.cpp | |
parent | c8745c6975c6173d08957c4a16bf8b95831ec05a (diff) | |
download | ingen-d358cae57b7233bf6b781686979fc4dea4d090b3.tar.gz ingen-d358cae57b7233bf6b781686979fc4dea4d090b3.tar.bz2 ingen-d358cae57b7233bf6b781686979fc4dea4d090b3.zip |
Fix learn for Trigger and Internal nodes.
Set value property for inputs when a notification is sent so model is consistent (and learned values are saved correctly).
Don't redundantly store value atom in PortModel, just use property directly.
Fix incorrect use of lv2:integer as a predicate.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4835 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation/Serialiser.cpp')
-rw-r--r-- | src/serialisation/Serialiser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index ec8ca9d2..b865ec6c 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -440,8 +440,8 @@ Serialiser::Impl::serialise_block(SharedPtr<const Node> block, serialise_properties(block_id, props); for (uint32_t i = 0; i < block->num_ports(); ++i) { - Node* const p = block->port(i); - const Sord::Node port_id = path_rdf_node(p->path()); + Node* const p = block->port(i); + const Sord::Node port_id = path_rdf_node(p->path()); serialise_port(p, Resource::EXTERNAL, port_id); _model->add_statement(block_id, Sord::URI(_model->world(), uris.lv2_port), |