summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-26 12:56:45 +0100
committerDavid Robillard <d@drobilla.net>2017-02-26 12:56:45 +0100
commit72e1a2119baea9690bdea0b729ecbafade2c87ba (patch)
treec465325eaf9d9a0f800a7e2dbfb5a58692053ed2 /src/client
parent1c9ac012b8a8db6e2221f2fa64afb3fc0dbf90d9 (diff)
downloadingen-72e1a2119baea9690bdea0b729ecbafade2c87ba.tar.gz
ingen-72e1a2119baea9690bdea0b729ecbafade2c87ba.tar.bz2
ingen-72e1a2119baea9690bdea0b729ecbafade2c87ba.zip
Fix filtering by type in plugin selector
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ClientStore.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index 4ff04957..eac853f7 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -1,6 +1,6 @@
/*
This file is part of Ingen.
- Copyright 2007-2016 David Robillard <http://drobilla.net/>
+ Copyright 2007-2017 David Robillard <http://drobilla.net/>
Ingen is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
@@ -143,8 +143,8 @@ ClientStore::_plugin(const Raul::URI& uri)
SPtr<PluginModel>
ClientStore::_plugin(const Atom& uri)
{
- /* FIXME: SHould probably be stored with URIs rather than strings, to make this
- a fast case. */
+ /* FIXME: Should probably be stored with URIs rather than strings, to make
+ this a fast case. */
const Plugins::iterator i = _plugins->find(Raul::URI(_uris.forge.str(uri, false)));
return (i == _plugins->end()) ? SPtr<PluginModel>() : (*i).second;
@@ -263,7 +263,7 @@ ClientStore::put(const Raul::URI& uri,
_log.error(fmt("Preset <%1%> label is not a string\n") % uri.c_str());
} else if (!(plug = _plugin(p->second))) {
_log.error(fmt("Preset <%1%> for unknown plugin %2%\n")
- % uri.c_str() % _uris.forge.str(p->second));
+ % uri.c_str() % _uris.forge.str(p->second, true));
} else {
plug->add_preset(uri, l->second.ptr<char>());
}
@@ -374,7 +374,7 @@ ClientStore::set_property(const Raul::URI& subject_uri,
{
if (subject_uri == Raul::URI("ingen:/engine")) {
_log.info(fmt("Engine property <%1%> = %2%\n")
- % predicate.c_str() % _uris.forge.str(value));
+ % predicate.c_str() % _uris.forge.str(value, false));
return;
}
SPtr<Resource> subject = _resource(subject_uri);