summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialisation')
-rw-r--r--src/serialisation/Serialiser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index b865ec6c..e3781a01 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -472,6 +472,9 @@ Serialiser::Impl::serialise_port(const Node* port,
} else {
_world.log().warn("Control input has no value, lv2:default omitted.\n");
}
+ } else if (context != Resource::INTERNAL &&
+ !port->has_property(uris.rdf_type, uris.lv2_InputPort)) {
+ props.erase(uris.ingen_value);
}
serialise_properties(port_id, props);