diff options
author | David Robillard <d@drobilla.net> | 2013-12-19 03:42:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-12-19 03:42:30 +0000 |
commit | 681fc6bcb59fb959594af6b9694112d4fd493eb0 (patch) | |
tree | afb426be74b4bfd5a2cc4a9dc387b4088dbb6773 | |
parent | 73f6522b1c60286d35aa64739664273119fb6eb3 (diff) | |
download | ingen-681fc6bcb59fb959594af6b9694112d4fd493eb0.tar.gz ingen-681fc6bcb59fb959594af6b9694112d4fd493eb0.tar.bz2 ingen-681fc6bcb59fb959594af6b9694112d4fd493eb0.zip |
FDGL: Improve flow-directed layout.
Allow apps to specify nodes as sources to improve layout.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5186 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/gui/GraphPortModule.cpp | 3 | ||||
-rw-r--r-- | wscript | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/GraphPortModule.cpp b/src/gui/GraphPortModule.cpp index 77d8a6fe..9f403d6b 100644 --- a/src/gui/GraphPortModule.cpp +++ b/src/gui/GraphPortModule.cpp @@ -52,6 +52,9 @@ GraphPortModule::GraphPortModule(GraphCanvas& canvas, assert(dynamic_ptr_cast<const GraphModel>(model->parent())); set_stacked(model->polyphonic()); + if (model->is_input()) { + set_is_source(true); + } model->signal_property().connect( sigc::mem_fun(this, &GraphPortModule::property_changed)); @@ -74,7 +74,7 @@ def configure(conf): autowaf.check_pkg(conf, 'webkit-1.0', uselib_store='WEBKIT', atleast_version='1.4.0', mandatory=False) autowaf.check_pkg(conf, 'ganv-1', uselib_store='GANV', - atleast_version='1.0.0', mandatory=False) + atleast_version='1.2.1', mandatory=False) if not Options.options.no_socket: conf.check_cc(function_name='socket', header_name='sys/socket.h', |