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
|
|
@ -1475,7 +1475,7 @@ void FurnaceGUI::openFileDialog(FurnaceGUIFileDialogs type) {
|
|||
dpiScale,
|
||||
[this](const char* path) {
|
||||
int sampleCountBefore=e->song.sampleLen;
|
||||
std::vector<DivInstrument*> instruments=e->instrumentFromFile(path);
|
||||
std::vector<DivInstrument*> instruments=e->instrumentFromFile(path,false);
|
||||
if (!instruments.empty()) {
|
||||
if (e->song.sampleLen!=sampleCountBefore) {
|
||||
e->renderSamplesP();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue