summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/PatchCanvas.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-07 02:13:23 +0000
committerDavid Robillard <d@drobilla.net>2007-04-07 02:13:23 +0000
commit6178329ac029b44b7b9b4cfd7185b65aeb3269a9 (patch)
tree1d981815a53f6636ab13eb94978679900b1d5255 /src/progs/ingenuity/PatchCanvas.cpp
parent5c8bc74d3ca5b2197db50f0ce072bd3e75db8975 (diff)
downloadingen-6178329ac029b44b7b9b4cfd7185b65aeb3269a9.tar.gz
ingen-6178329ac029b44b7b9b4cfd7185b65aeb3269a9.tar.bz2
ingen-6178329ac029b44b7b9b4cfd7185b65aeb3269a9.zip
Fixed connection to patch MIDI ports when loading deprecated patches.
Fixes for auto-arrange in Ingen. git-svn-id: http://svn.drobilla.net/lad/ingen@411 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/PatchCanvas.cpp')
-rw-r--r--src/progs/ingenuity/PatchCanvas.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/progs/ingenuity/PatchCanvas.cpp b/src/progs/ingenuity/PatchCanvas.cpp
index 2279a053..13ceaac0 100644
--- a/src/progs/ingenuity/PatchCanvas.cpp
+++ b/src/progs/ingenuity/PatchCanvas.cpp
@@ -120,6 +120,16 @@ PatchCanvas::build()
void
+PatchCanvas::arrange()
+{
+ LibFlowCanvas::FlowCanvas::arrange();
+
+ for (list<boost::shared_ptr<Item> >::iterator i = _items.begin(); i != _items.end(); ++i)
+ (*i)->store_location();
+}
+
+
+void
PatchCanvas::add_node(SharedPtr<NodeModel> nm)
{
boost::shared_ptr<PatchCanvas> shared_this =