Browse Source

keep initial wasm patch as factory template

Signed-off-by: falkTX <falktx@falktx.com>
tags/23.09
falkTX 1 year ago
parent
commit
6b59449e5e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      src/CardinalPlugin.cpp

+ 0
- 9
src/CardinalPlugin.cpp View File

@@ -316,15 +316,6 @@ public:
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


Loading…
Cancel
Save