diff --git a/templates/vst3/src/vst3.c b/templates/vst3/src/vst3.c index 7c1f34f..5e3466c 100644 --- a/templates/vst3/src/vst3.c +++ b/templates/vst3/src/vst3.c @@ -1552,9 +1552,11 @@ static Steinberg_tresult controllerSetState(void* thisInterface, struct Steinber if (IS_BIG_ENDIAN) v.u = SWAP_UINT32(v.u); c->parameters[i] = parameterAdjust(i, v.f); +# ifdef DATA_UI if (c->views) for (size_t j = 0; j < c->viewsCount; j++) plugViewUpdateParameter(c->views[j], i); +# endif } #endif return Steinberg_kResultOk;