summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-03-12 18:13:03 +0000
committerDavid Robillard <d@drobilla.net>2007-03-12 18:13:03 +0000
commit47372f00cc6fe39f65594aa6edf6544157e94ce7 (patch)
treee1c7a9b1b3d6fe07631a05f3410ea2fa4b21e193 /src/PatchageEvent.cpp
parent2834b233eedf0c66f65ac8169264d8359d8fc7c6 (diff)
downloadpatchage-47372f00cc6fe39f65594aa6edf6544157e94ce7.tar.gz
patchage-47372f00cc6fe39f65594aa6edf6544157e94ce7.tar.bz2
patchage-47372f00cc6fe39f65594aa6edf6544157e94ce7.zip
Removed name-based interface for FlowCanvas (using the view as a model = evil), related performance improvements (especially for Machina).
Updates for FlowCanvas API changes. Machina SMF import performance improvements (temporarily disabled node labels). git-svn-id: http://svn.drobilla.net/lad/patchage@356 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r--src/PatchageEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index 09b28a1..0eed12e 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -75,7 +75,7 @@ PatchageEvent::execute()
}
if (module->num_ports() == 0) {
- _patchage->canvas()->remove_item(module->name()); // FIXME: slow
+ _patchage->canvas()->remove_item(module);
module->hide();
module.reset();
}