From dd6be02a7478225f19f02432919b64b96b733172 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 30 Mar 2007 22:32:07 +0000 Subject: Canvas auto-layout uses durations like graphviz diagrams. Learning fixes. Added duration spinbutton to MIDI Import dialog. git-svn-id: http://svn.drobilla.net/lad/machina@381 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/Node.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine/Node.cpp') diff --git a/src/engine/Node.cpp b/src/engine/Node.cpp index 768422e..e51e33d 100644 --- a/src/engine/Node.cpp +++ b/src/engine/Node.cpp @@ -92,7 +92,7 @@ Node::exit(SharedPtr sink, BeatTime time) void Node::add_outgoing_edge(SharedPtr edge) { - assert(edge->src().lock().get() == this); + assert(edge->tail().lock().get() == this); _outgoing_edges.push_back(edge); } @@ -112,7 +112,7 @@ Node::remove_outgoing_edges_to(SharedPtr node) Edges::iterator next = i; ++next; - if ((*i)->dst() == node) + if ((*i)->head() == node) _outgoing_edges.erase(i); i = next; -- cgit v1.2.1