From 27c9e0347fc974e6555b2385453b958d3d8258f7 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Thu, 2 Sep 2021 13:33:09 +0300 Subject: SL-15933 FIXED crash in capture360Images() --- indra/newview/llfloater360capture.cpp | 8 ++++---- 1 file 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 -- cgit v1.2.3