From b69555d59fed393f7301880a81d8709afda8e1ce Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 1 Nov 2013 21:13:11 +0000 Subject: Don't notify UIs about null atom port values (partially address #935). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5168 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NodeModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 6885780b..7185d9bd 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -352,7 +352,7 @@ NodeModule::set_control_values() { uint32_t index = 0; for (const auto& p : _block->ports()) { - if (app().can_control(p.get())) { + if (app().can_control(p.get()) && p->value().is_valid()) { port_value_changed(index, p->value()); } ++index; -- cgit v1.2.1