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 | |
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
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | src/Canvas.cpp | 1 | ||||
-rw-r--r-- | wscript | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,10 @@ +ganv (1.4.1) unstable; + + * Fix bug where edges would not update when nodes are moved after the canvas + is cleared (fix stuck connections in Patchage after refresh). + + -- David Robillard <d@drobilla.net> Sun, 13 Jul 2014 15:47:32 -0400 + ganv (1.4.0) stable; * Begin using library and pkg-config names suitable for parallel 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; @@ -8,7 +8,7 @@ import waflib.extras.autowaf as autowaf # major increment <=> incompatible changes # minor increment <=> compatible changes (additions) # micro increment <=> no interface changes -GANV_VERSION = '1.4.0' +GANV_VERSION = '1.4.1' GANV_MAJOR_VERSION = '1' # Mandatory waf variables |