diff options
-rw-r--r-- | src/serialisation/Serialiser.cpp | 8 | ||||
-rw-r--r-- | src/server/ingen_lv2.cpp | 2 |
2 files changed, 6 insertions, 4 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()), diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp index c8c0b922..22d86c9c 100644 --- a/src/server/ingen_lv2.cpp +++ b/src/server/ingen_lv2.cpp @@ -751,7 +751,7 @@ ingen_restore(LV2_Handle instance, &size, &type, &valflags); if (!path) { - plugin->world->log().error("Failed to restore ingen:file\n"); + plugin->world->log().warn("Failed to restore ingen:file\n"); return LV2_STATE_ERR_NO_PROPERTY; } |