don't load assets when loading temp ins
This commit is contained in:
parent
82649c9c81
commit
0627e38d63
4 changed files with 9 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue