Tweak template patch locations
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
c957357781
commit
2aa9142437
20 changed files with 587 additions and 56 deletions
|
@ -253,7 +253,7 @@ static void downloadPatchStorageFailed(const char* const filename)
|
|||
}
|
||||
|
||||
using namespace rack;
|
||||
context->patch->templatePath = system::join(asset::systemDir, "template-synth.vcv"); // FIXME
|
||||
context->patch->templatePath = system::join(asset::systemDir, "init/wasm.vcv"); // FIXME
|
||||
context->patch->loadTemplate();
|
||||
context->scene->rackScroll->reset();
|
||||
}
|
||||
|
@ -277,7 +277,7 @@ static void downloadPatchStorageSucceeded(const char* const filename)
|
|||
}
|
||||
|
||||
try {
|
||||
context->patch->load(CARDINAL_IMPORTED_TEMPLATE_FILENAME);
|
||||
context->patch->load(CARDINAL_WASM_IMPORTED_TEMPLATE_FILENAME);
|
||||
} catch (rack::Exception& e) {
|
||||
const std::string message = rack::string::f("Could not load patch: %s", e.what());
|
||||
asyncDialog::create(message.c_str());
|
||||
|
@ -428,7 +428,7 @@ public:
|
|||
|
||||
void uiIdle() override
|
||||
{
|
||||
if (counterForFirstIdlePoint >= 0 && ++counterForFirstIdlePoint == 5)
|
||||
if (counterForFirstIdlePoint >= 0 && ++counterForFirstIdlePoint == 30)
|
||||
{
|
||||
counterForFirstIdlePoint = -1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue