From 2c6db7e54c8124a7dd49d04fa949c3351676aee1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 21 May 2011 00:12:46 +0000 Subject: Fix patch loading. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3304 a436a847-0d15-0410-975c-d299462d15a1 --- src/ingen/main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/ingen') 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 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 -- cgit v1.2.1