diff options
author | David Robillard <d@drobilla.net> | 2007-03-12 18:13:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-03-12 18:13:03 +0000 |
commit | cd3dffb1d8838e813cfbf58d27e212db7f8eb0af (patch) | |
tree | 62ab746043feb0e70c3335c548c7fdc1d741a31c /src/progs/ingenuity/PatchPortModule.cpp | |
parent | 6d03649eb75291abf2900a062ed0b7dcdb5dca86 (diff) | |
download | ingen-cd3dffb1d8838e813cfbf58d27e212db7f8eb0af.tar.gz ingen-cd3dffb1d8838e813cfbf58d27e212db7f8eb0af.tar.bz2 ingen-cd3dffb1d8838e813cfbf58d27e212db7f8eb0af.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/ingen@356 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/PatchPortModule.cpp')
-rw-r--r-- | src/progs/ingenuity/PatchPortModule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/ingenuity/PatchPortModule.cpp b/src/progs/ingenuity/PatchPortModule.cpp index 17633939..048d0ee7 100644 --- a/src/progs/ingenuity/PatchPortModule.cpp +++ b/src/progs/ingenuity/PatchPortModule.cpp @@ -72,10 +72,10 @@ PatchPortModule::create(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<PortMod ret->_patch_port = boost::shared_ptr<Port>(new Port(ret, port, true, true)); ret->add_port(ret->_patch_port); - ret->resize(); - for (MetadataMap::const_iterator m = port->metadata().begin(); m != port->metadata().end(); ++m) ret->metadata_update(m->first, m->second); + + ret->resize(); return ret; } |