don't load assets when loading temp ins

This commit is contained in:
tildearrow 2022-11-21 03:01:57 -05:00
parent 82649c9c81
commit 0627e38d63
4 changed files with 9 additions and 5 deletions

View file

@ -766,7 +766,7 @@ class DivEngine {
// get instrument from file
// if the returned vector is empty then there was an error.
std::vector<DivInstrument*> instrumentFromFile(const char* path);
std::vector<DivInstrument*> instrumentFromFile(const char* path, bool loadAssets=true);
// load temporary instrument
void loadTempIns(DivInstrument* which);