diff options
author | David Robillard <d@drobilla.net> | 2006-12-13 03:13:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-12-13 03:13:54 +0000 |
commit | 443530680da9d6f909088ceb6a5c86178225b84f (patch) | |
tree | 698e6f93655914c55e816af7e0c2aa6664c38ccb /src | |
parent | 5140bb2ca5ccd532d74a48c4c36d5c28866458cb (diff) | |
download | ingen-443530680da9d6f909088ceb6a5c86178225b84f.tar.gz ingen-443530680da9d6f909088ceb6a5c86178225b84f.tar.bz2 ingen-443530680da9d6f909088ceb6a5c86178225b84f.zip |
Simpler/Faster/Prettier/Saner connection curves.
git-svn-id: http://svn.drobilla.net/lad/ingen@220 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/client/Serializer.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libs/client/Serializer.cpp b/src/libs/client/Serializer.cpp index d57f908f..3a417a48 100644 --- a/src/libs/client/Serializer.cpp +++ b/src/libs/client/Serializer.cpp @@ -184,8 +184,6 @@ Serializer::serialize(SharedPtr<ObjectModel> object) throw (std::logic_error) void Serializer::serialize_patch(SharedPtr<PatchModel> patch, unsigned depth) { - assert(_serializer); - RdfId patch_id = path_to_node_id(patch->path()); // anonymous if (patch->path().length() < 2) @@ -241,8 +239,6 @@ Serializer::serialize_plugin(SharedPtr<PluginModel> plugin) void Serializer::serialize_node(SharedPtr<NodeModel> node, unsigned depth) { - assert(_serializer); - const RdfId node_id = (depth == 0) ? RdfId(RdfId::RESOURCE, string("#") + node->path().substr(1)) : path_to_node_id(node->path()); // anonymous @@ -293,8 +289,6 @@ Serializer::serialize_node(SharedPtr<NodeModel> node, unsigned depth) void Serializer::serialize_port(SharedPtr<PortModel> port, unsigned depth) { - assert(_serializer); - const RdfId port_id = (depth == 0) ? RdfId(RdfId::RESOURCE, string("#") + port->path().substr(1)) : path_to_node_id(port->path()); // anonymous @@ -324,8 +318,6 @@ Serializer::serialize_port(SharedPtr<PortModel> port, unsigned depth) void Serializer::serialize_connection(SharedPtr<ConnectionModel> connection) throw (std::logic_error) { - assert(_serializer); - const RdfId connection_id = RdfId(RdfId::ANONYMOUS, path_to_node_id(connection->src_port_path()).to_string() + "-" + path_to_node_id(connection->dst_port_path()).to_string()); |