diff options
author | David Robillard <d@drobilla.net> | 2014-07-13 21:56:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-07-13 21:56:57 +0000 |
commit | daccd0d379fd95ae1d41605a439537b05a9ac819 (patch) | |
tree | 6587d021225a031973ed0eee1d08d50d960ee9cd /src | |
parent | dc17d30d9248938e94d77780c206644ce9bb4e08 (diff) | |
download | ganv-daccd0d379fd95ae1d41605a439537b05a9ac819.tar.gz ganv-daccd0d379fd95ae1d41605a439537b05a9ac819.tar.bz2 ganv-daccd0d379fd95ae1d41605a439537b05a9ac819.zip |
Fix bug where edges would not update when nodes are moved after the canvas is cleared.
(Fix stuck connections in Patchage after refresh).
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5412 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/Canvas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp index 47b0013..c01021c 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -2464,6 +2464,7 @@ ganv_canvas_clear(GanvCanvas* canvas) gtk_object_destroy(GTK_OBJECT(*i)); } canvas->impl->_edges.clear(); + canvas->impl->_dst_edges.clear(); canvas->impl->_selected_ports.clear(); canvas->impl->_connect_port = NULL; |