fix2?
This commit is contained in:
parent
beca6bea00
commit
56749ad286
|
|
@ -5829,12 +5829,11 @@ bool FurnaceGUI::loop() {
|
||||||
if (ImGui::BeginPopupModal(_("Rendering..."),NULL,ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove)) {
|
if (ImGui::BeginPopupModal(_("Rendering..."),NULL,ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove)) {
|
||||||
ImGui::Text(_("Please wait..."));
|
ImGui::Text(_("Please wait..."));
|
||||||
int songLengthLambda = songLength;
|
int songLengthLambda = songLength;
|
||||||
std::vector<int>* songOrdersLengthsLambda = & songOrdersLengths;
|
|
||||||
float progress = 0.0f;
|
float progress = 0.0f;
|
||||||
float* progressLambda = &progress;
|
float* progressLambda = &progress;
|
||||||
if(e->isExporting())
|
if(e->isExporting())
|
||||||
{
|
{
|
||||||
e->lockEngine([this, songOrdersLengthsLambda, progressLambda]()
|
e->lockEngine([this, progressLambda]()
|
||||||
{
|
{
|
||||||
int totalFiles = 0;
|
int totalFiles = 0;
|
||||||
e->getTotalAudioFiles(totalFiles);
|
e->getTotalAudioFiles(totalFiles);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue