commit a6b23e8a7b9ac3f6a95b522833400d4365c25fa2
parent 334e3b4187c76c782ed7c2bf15b7ae6d5022bca1
Author: Johannes Lorenz <[email protected]>
Date: Sun, 29 Mar 2020 11:08:29 +0200
Fix PAD filter changes needing prepare
Before this, any realtime parameter change of PAD synth, e.g. filter,
triggered the "needPrepare" message, marking the PAD synth's "Apply
Changes" button.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Misc/MiddleWare.cpp b/src/Misc/MiddleWare.cpp
@@ -322,7 +322,7 @@ struct NonRtObjStore
strcpy(d.loc, obj_rl.c_str());
d.obj = pad;
PADnoteParameters::non_realtime_ports.dispatch(msg, d);
- if(rtosc_narguments(msg)) {
+ if(d.matches && rtosc_narguments(msg)) {
if(!strcmp(msg, "oscilgen/prepare"))
; //ignore
else {