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