summaryrefslogtreecommitdiffstats
path: root/src/serialisation/Serialiser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialisation/Serialiser.cpp')
-rw-r--r--src/serialisation/Serialiser.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index 45d95050..a6c181f9 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -528,9 +528,11 @@ Serialiser::Impl::serialise_arc(const Sord::Node& parent,
}
static bool
-skip_property(const Sord::Node& predicate)
+skip_property(Ingen::URIs& uris, const Sord::Node& predicate)
{
- return (predicate.to_string() == "http://drobilla.net/ns/ingen#document");
+ return (predicate.to_string() == "http://drobilla.net/ns/ingen#document" ||
+ predicate.to_string() == uris.ingen_block ||
+ predicate.to_string() == uris.lv2_port);
}
void
@@ -552,7 +554,7 @@ Serialiser::Impl::serialise_properties(Sord::Node id,
typedef Node::Properties::const_iterator iterator;
for (const auto& p : props) {
const Sord::URI key(_model->world(), p.first);
- if (!skip_property(key)) {
+ if (!skip_property(_world.uris(), key)) {
sratom_write(_sratom, unmap, 0,
sord_node_to_serd_node(id.c_obj()),
sord_node_to_serd_node(key.c_obj()),