From 22c8f7fb762bd22ab71fc30e6157b5f8385b0271 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Sun, 5 Jul 2015 13:48:59 -0500 Subject: [PATCH] Pretty sure this is the fix for the crashing VSTs --- src/effects/VST/VSTEffect.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/effects/VST/VSTEffect.cpp b/src/effects/VST/VSTEffect.cpp index dbf5a2148..3ada1a00b 100644 --- a/src/effects/VST/VSTEffect.cpp +++ b/src/effects/VST/VSTEffect.cpp @@ -1521,7 +1521,8 @@ VSTEffect::VSTEffect(const wxString & path, VSTEffect *master) mTimeInfo.flags = kVstTempoValid | kVstNanosValid; // UI - + + mGui = false; mNames = NULL; mSliders = NULL; mDisplays = NULL; @@ -3598,7 +3599,7 @@ void VSTEffect::BuildPlain() void VSTEffect::RefreshParameters(int skip) { - if (mGui) + if (!mNames) { return; }