summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-01-25 15:42:27 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-01-27 17:22:57 +0200
commit503e18fc646c6d88cd8006ad2210a8afd0bced83 (patch)
tree3bdaa74d28fe349b6157d8699caccf63fc824442
parent7f0fed273c0161c44704443e1cc5ac139d49edd4 (diff)
SL-19005 Fix 'save as' button for local uploads
-rw-r--r--indra/newview/llmaterialeditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llmaterialeditor.cpp b/indra/newview/llmaterialeditor.cpp
index a36ddeb532..5628327ebe 100644
--- a/indra/newview/llmaterialeditor.cpp
+++ b/indra/newview/llmaterialeditor.cpp
@@ -2157,6 +2157,7 @@ void LLMaterialEditor::loadMaterial(const tinygltf::Model &model_in, const std::
openFloater(getKey());
setFocus(TRUE);
setCanSave(true);
+ setCanSaveAs(true);
applyToSelection();
}