Skip to content

Commit

Permalink
keep initial wasm patch as factory template
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Sep 10, 2023
1 parent 40db887 commit 6b59449
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/CardinalPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b59449

Please sign in to comment.