1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-19 17:40:51 +02:00

Allow all effects in chains now that presets can be used

This commit is contained in:
Leland Lucius 2015-04-26 21:31:42 -05:00
parent afe47be9e1
commit 1b7d4b17f6

View File

@ -281,15 +281,12 @@ wxArrayString BatchCommands::GetAllCommands()
EffectManager & em = EffectManager::Get(); EffectManager & em = EffectManager::Get();
const PluginDescriptor *plug = pm.GetFirstPlugin(PluginTypeEffect); const PluginDescriptor *plug = pm.GetFirstPlugin(PluginTypeEffect);
while (plug) while (plug)
{
if (plug->IsEffectAutomatable())
{ {
command = em.GetEffectIdentifier(plug->GetID()); command = em.GetEffectIdentifier(plug->GetID());
if (!command.IsEmpty()) if (!command.IsEmpty())
{ {
commands.Add(command); commands.Add(command);
} }
}
plug = pm.GetNextPlugin(PluginTypeEffect); plug = pm.GetNextPlugin(PluginTypeEffect);
} }