summaryrefslogtreecommitdiffstats
path: root/src/gui/Connection.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-27 06:33:35 +0000
committerDavid Robillard <d@drobilla.net>2011-11-27 06:33:35 +0000
commit8c8f2c1eadc44d1b34fea6eb2c87a9c3e0208330 (patch)
treeeffd0d43886facaf09a65f70eb433ea7e95a0436 /src/gui/Connection.cpp
parent96374990f67d8234f38b6cc6044b05d13157d88a (diff)
downloadingen-8c8f2c1eadc44d1b34fea6eb2c87a9c3e0208330.tar.gz
ingen-8c8f2c1eadc44d1b34fea6eb2c87a9c3e0208330.tar.bz2
ingen-8c8f2c1eadc44d1b34fea6eb2c87a9c3e0208330.zip
Remove linear searching for connections.
Remove redundant connection lists stored in Connectable. Add arrange and straight connections options to flowcanvas_bench. Add Connection::set_curved(). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3652 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/Connection.cpp')
-rw-r--r--src/gui/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/Connection.cpp b/src/gui/Connection.cpp
index 511f6044..6f24b124 100644
--- a/src/gui/Connection.cpp
+++ b/src/gui/Connection.cpp
@@ -35,7 +35,7 @@ Connection::Connection(FlowCanvas::Canvas& canvas,
{
Port* const src_port = dynamic_cast<Port*>(src);
if (src_port)
- _bpath.property_dash() = src_port->dash();
+ _bpath->property_dash() = src_port->dash();
}
} // namespace GUI