From 6b59449e5edd770fa037c6ad6a3e440ecea95eab Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 10 Sep 2023 13:47:05 +0200 Subject: [PATCH] keep initial wasm patch as factory template Signed-off-by: falkTX --- src/CardinalPlugin.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/CardinalPlugin.cpp b/src/CardinalPlugin.cpp index 5fe54a5a..5b9fb3a9 100644 --- a/src/CardinalPlugin.cpp +++ b/src/CardinalPlugin.cpp @@ -316,15 +316,6 @@ class CardinalPlugin : public CardinalBasePlugin context->scene->rackScroll->reset(); } - #ifdef DISTRHO_OS_WASM - // switch factory template to regular one after first load - #if CARDINAL_VARIANT_MINI - context->patch->factoryTemplatePath = rack::system::join(rack::asset::patchesPath(), "templates/mini.vcv"); - #else - context->patch->factoryTemplatePath = rack::system::join(rack::asset::patchesPath(), "templates/main.vcv"); - #endif - #endif - #ifdef CARDINAL_INIT_OSC_THREAD fInitializer->remotePluginInstance = this; #endif