Copy plugin when extending the count, rather than using the same one. Should fix #3672.
git-svn-id: svn://localhost/ardour2/branches/3.0@8982 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
794980557f
commit
ee92df2a25
@ -94,7 +94,7 @@ PluginInsert::set_count (uint32_t num)
|
|||||||
uint32_t diff = num - _plugins.size();
|
uint32_t diff = num - _plugins.size();
|
||||||
|
|
||||||
for (uint32_t n = 0; n < diff; ++n) {
|
for (uint32_t n = 0; n < diff; ++n) {
|
||||||
add_plugin_with_activation (_plugins[0]);
|
add_plugin_with_activation (plugin_factory (_plugins[0]));
|
||||||
|
|
||||||
if (require_state) {
|
if (require_state) {
|
||||||
/* XXX do something */
|
/* XXX do something */
|
||||||
|
Loading…
Reference in New Issue
Block a user