summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-19 19:10:33 +0000
committerDavid Robillard <d@drobilla.net>2011-04-19 19:10:33 +0000
commit338ebbcd23747d3274f100b1c78caeb1d157dde0 (patch)
treeeab0f2e0c3ca4d8a188da2f4658623072a291bbf /src
parentc231bf1a9b5de625eb9ebac78a4b219caa947902 (diff)
downloadingen-338ebbcd23747d3274f100b1c78caeb1d157dde0.tar.gz
ingen-338ebbcd23747d3274f100b1c78caeb1d157dde0.tar.bz2
ingen-338ebbcd23747d3274f100b1c78caeb1d157dde0.zip
Initialise client module when necessary (partially fix OSC/HTTP).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3165 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/ingen/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp
index 9c8bba3b..0767e328 100644
--- a/src/ingen/main.cpp
+++ b/src/ingen/main.cpp
@@ -142,6 +142,8 @@ main(int argc, char** argv)
// If we don't have a local engine interface (for GUI), use network
if (!engine_interface) {
+ ingen_try(world->load_module("client"),
+ "Unable to load client module");
const char* const uri = conf.option("connect").get_string();
ingen_try((engine_interface = world->interface(uri)),
(string("Unable to create interface to `") + uri + "'").c_str());