From 5d1f579900182f283a1c21ad4e59daf7f035e219 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 9 Nov 2008 01:32:38 +0000 Subject: Move patch to /patch via HTTP to give a place for RESTful access to other things. Implement HTTP access to plugins. Work towards client being able to use HTTP to connect. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1712 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/NodeFactory.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/engine/NodeFactory.cpp') diff --git a/src/engine/NodeFactory.cpp b/src/engine/NodeFactory.cpp index 45da0a03..91f44a83 100644 --- a/src/engine/NodeFactory.cpp +++ b/src/engine/NodeFactory.cpp @@ -87,8 +87,7 @@ NodeFactory::plugin(const string& type, const string& lib, const string& label) #ifdef HAVE_LADSPA for (Plugins::const_iterator i = _plugins.begin(); i != _plugins.end(); ++i) { LADSPAPlugin* lp = dynamic_cast(i->second); - if (lp && lp->type_string() == type - && lp->library_name() == lib + if (lp && lp->library_name() == lib && lp->label() == label) return lp; } -- cgit v1.2.1