mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 12:30:00 +02:00
Delay showing editor the window
This fixes Waves V13 VST3 plugins crashing when opening the editor. They will likely still crash later on anyways because they're kinda broken. Amazing.
This commit is contained in:
@@ -743,6 +743,12 @@ intptr_t Vst2Bridge::dispatch_wrapper(AEffect* plugin,
|
||||
plugin->dispatcher(plugin, opcode, index, value,
|
||||
editor_instance.get_win32_handle(), option);
|
||||
|
||||
// NOTE: There's zero reason why the window couldn't already be
|
||||
// visible from the start, but Waves V13 VST3 plugins think it
|
||||
// would be a splendid idea to randomly dereference null
|
||||
// pointers when the window is already visible. Thanks Waves.
|
||||
editor_instance.show();
|
||||
|
||||
return result;
|
||||
} break;
|
||||
case effEditClose: {
|
||||
|
||||
Reference in New Issue
Block a user