diff options
author | David Robillard <d@drobilla.net> | 2011-05-21 00:12:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-21 00:12:46 +0000 |
commit | 2c6db7e54c8124a7dd49d04fa949c3351676aee1 (patch) | |
tree | 81c8027255ff45f259297896c80d1109e2fce46e /src/ingen | |
parent | d700e9d8b26198d62807104d1517791dd992d149 (diff) | |
download | ingen-2c6db7e54c8124a7dd49d04fa949c3351676aee1.tar.gz ingen-2c6db7e54c8124a7dd49d04fa949c3351676aee1.tar.bz2 ingen-2c6db7e54c8124a7dd49d04fa949c3351676aee1.zip |
Fix patch loading.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3304 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ingen')
-rw-r--r-- | src/ingen/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index f93e333b..997fb66e 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -157,6 +157,10 @@ main(int argc, char** argv) world->set_engine(engine_interface); + if (world->local_engine()) { + world->local_engine()->activate(); + } + // Load a patch if (conf.option("load").is_valid() && engine_interface) { boost::optional<Path> parent; @@ -191,6 +195,7 @@ main(int argc, char** argv) } engine_interface->get("ingen:plugins"); + engine_interface->get("path:/"); world->parser()->parse_file( world, engine_interface.get(), uri, parent, symbol); } @@ -217,7 +222,7 @@ main(int argc, char** argv) signal(SIGINT, ingen_interrupt); signal(SIGTERM, ingen_interrupt); - // Activate the enginie + // Activate the engine world->local_engine()->activate(); // Run engine main loop until interrupt |