From 8ef6955d43a441a5873abaa27049041dea18f79e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 29 Sep 2008 03:17:06 +0000 Subject: * Context extension work. * Better support for set_port_value on event ports. * Don't pop audio ports when clicking in event mode. * Clicking an event port in event mode will 'bang' the event port (example 'bang' plugin prints when it receives one). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1534 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/Port.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libs/gui/Port.cpp') diff --git a/src/libs/gui/Port.cpp b/src/libs/gui/Port.cpp index fd35ff90..031c74c5 100644 --- a/src/libs/gui/Port.cpp +++ b/src/libs/gui/Port.cpp @@ -126,7 +126,8 @@ Port::set_control(float value, bool signal) if (_port_model->type() == DataType::CONTROL) { App::instance().engine()->set_port_value(_port_model->path(), Atom(value)); } else if (_port_model->type() == DataType::EVENT) { - cout << "EVENT CONTROL" << endl; + App::instance().engine()->set_port_value(_port_model->path(), + Atom("", 0, NULL)); } } -- cgit v1.2.1