From 5ce7e740c4f4703d13f7db34dd435058cf6b1be3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 9 Aug 2012 17:37:23 +0000 Subject: [PATCH] when sending notice of a change in a plugin parameter value, send the current value git-svn-id: svn://localhost/ardour2/branches/3.0@13121 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/plugin.cc b/libs/ardour/plugin.cc index 8cdbf98b89..9f39e06787 100644 --- a/libs/ardour/plugin.cc +++ b/libs/ardour/plugin.cc @@ -343,7 +343,7 @@ Plugin::set_parameter (uint32_t which, float val) { _parameter_changed_since_last_preset = true; _session.set_dirty (); - ParameterChanged (which, val); /* EMIT SIGNAL */ + ParameterChanged (which, get_parameter (which)); /* EMIT SIGNAL */ } int