diff options
author | David Robillard <d@drobilla.net> | 2008-01-09 02:39:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-01-09 02:39:37 +0000 |
commit | 982e2e0d0d0aebadf5e1878e6f812a65d3da6d34 (patch) | |
tree | 478afcf9e0644a8ed9c979f9655ae5e00faf6654 /src/Patchage.cpp | |
parent | 4eee416f717d25948548652144ae4ac7317323f6 (diff) | |
download | patchage-982e2e0d0d0aebadf5e1878e6f812a65d3da6d34.tar.gz patchage-982e2e0d0d0aebadf5e1878e6f812a65d3da6d34.tar.bz2 patchage-982e2e0d0d0aebadf5e1878e6f812a65d3da6d34.zip |
Patchage refresh performance improvements
git-svn-id: http://svn.drobilla.net/lad/patchage@1041 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r-- | src/Patchage.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index bf8fa25..45ad7b9 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -396,6 +396,12 @@ Patchage::refresh() if (_alsa_driver) _alsa_driver->refresh(); #endif + + for (ItemList::iterator i = _canvas->items().begin(); i != _canvas->items().end(); ++i) { + SharedPtr<Module> module = PtrCast<Module>(*i); + if (module) + module->resize(); + } } } |