summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-09-02 13:33:09 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-09-02 13:33:09 +0300
commit27c9e0347fc974e6555b2385453b958d3d8258f7 (patch)
tree59287a607b34f26f7e456954decd4008b062bccb
parentefb50dced0fe03bbd684417708a33fea0ae9fa33 (diff)
SL-15933 FIXED crash in capture360Images()
-rw-r--r--indra/newview/llfloater360capture.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llfloater360capture.cpp b/indra/newview/llfloater360capture.cpp
index 30acf36be8..addcfaa611 100644
--- a/indra/newview/llfloater360capture.cpp
+++ b/indra/newview/llfloater360capture.cpp
@@ -665,13 +665,13 @@ void LLFloater360Capture::capture360Images()
std::string url = "file:///" + getHTMLBaseFolder() + mEqrGenHTML;
mWebBrowser->navigateTo(url);
- // allow the UI to update by suspending and waiting for the
- // main render loop to update the UI
- suspendForAFrame();
-
// page is loaded and ready so we can turn on the buttons again
mCaptureBtn->setEnabled(true);
mSaveLocalBtn->setEnabled(true);
+
+ // allow the UI to update by suspending and waiting for the
+ // main render loop to update the UI
+ suspendForAFrame();
}
// once the request is made to navigate to the web page containing the code