summaryrefslogtreecommitdiff
path: root/indra/newview/llmaterialeditor.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-11-24 12:16:59 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-11-24 20:58:05 +0200
commit32984b56ea8fa4f4357379a40627b5e9267d7543 (patch)
treec332e615cc6b609f6eb924198500a0d61e6f980b /indra/newview/llmaterialeditor.cpp
parentdfa76a56e32b8577131542f5c412b48797f8d3d3 (diff)
SL-18701 llsd is not thread safe, parse it before using
Diffstat (limited to 'indra/newview/llmaterialeditor.cpp')
-rw-r--r--indra/newview/llmaterialeditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llmaterialeditor.cpp b/indra/newview/llmaterialeditor.cpp
index d5948b297c..d5339777c4 100644
--- a/indra/newview/llmaterialeditor.cpp
+++ b/indra/newview/llmaterialeditor.cpp
@@ -1008,7 +1008,7 @@ static U32 write_texture(const LLUUID& id, tinygltf::Model& model)
void LLMaterialEditor::onClickSave()
{
- if (!capabilitiesAvalaible())
+ if (!capabilitiesAvailable())
{
LLNotificationsUtil::add("MissingMaterialCaps");
return;
@@ -3067,7 +3067,7 @@ void LLMaterialEditor::loadDefaults()
setFromGltfModel(model_in, 0, true);
}
-bool LLMaterialEditor::capabilitiesAvalaible()
+bool LLMaterialEditor::capabilitiesAvailable()
{
const LLViewerRegion* region = gAgent.getRegion();
if (!region)