summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-07-13 21:56:57 +0000
committerDavid Robillard <d@drobilla.net>2014-07-13 21:56:57 +0000
commitdaccd0d379fd95ae1d41605a439537b05a9ac819 (patch)
tree6587d021225a031973ed0eee1d08d50d960ee9cd
parentdc17d30d9248938e94d77780c206644ce9bb4e08 (diff)
downloadganv-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--NEWS7
-rw-r--r--src/Canvas.cpp1
-rw-r--r--wscript2
3 files changed, 9 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f8fd470..e268c12 100644
--- a/NEWS
+++ b/NEWS
@@ -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;
diff --git a/wscript b/wscript
index deac0a1..1173a45 100644
--- a/wscript
+++ b/wscript
@@ -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