summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/PluginUI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp
index b9212174..b24332d6 100644
--- a/src/client/PluginUI.cpp
+++ b/src/client/PluginUI.cpp
@@ -60,7 +60,8 @@ lv2_ui_write(SuilController controller,
return;
}
const float value = *(const float*)buffer;
- if (value == port->value().get<float>()) {
+ if (port->value().type() == uris.atom_Float &&
+ value == port->value().get<float>()) {
return; // Ignore feedback
}