diff options
-rw-r--r-- | src/gui/GraphPortModule.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/GraphPortModule.cpp b/src/gui/GraphPortModule.cpp index d819a68a..d000ae36 100644 --- a/src/gui/GraphPortModule.cpp +++ b/src/gui/GraphPortModule.cpp @@ -68,6 +68,11 @@ GraphPortModule::create(GraphCanvas& canvas, GraphPortModule* ret = new GraphPortModule(canvas, model); Port* port = Port::create(canvas.app(), *ret, model, human, true); + if (model->is_numeric() && model->is_input()) { + // Add non-mirrored input so control port can be controlled from canvas + Port::create(canvas.app(), *ret, model, human, false); + } + ret->set_port(port); for (Resource::Properties::const_iterator m = model->properties().begin(); |