MCPcopy Create free account
hub / github.com/VCVRack/Rack / clear

Method clear

src/patch.cpp:93–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92
93void Manager::clear() {
94 path = "";
95 if (APP->scene) {
96 APP->scene->rack->clear();
97 APP->scene->rackScroll->reset();
98 }
99 if (APP->history) {
100 APP->history->clear();
101 }
102 APP->engine->clear();
103}
104
105
106static bool promptClear(std::string text) {

Callers 8

resetCablesFunction · 0.45
fromJsonFunction · 0.45
destroyFunction · 0.45
logOutFunction · 0.45
~ContextMethod · 0.45
destroyFunction · 0.45
loadTranslationsFunction · 0.45
destroyFunction · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected