summaryrefslogtreecommitdiff
path: root/indra/newview/llmaterialeditor.cpp
diff options
context:
space:
mode:
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 218e241185..7a65231a2d 100644
--- a/indra/newview/llmaterialeditor.cpp
+++ b/indra/newview/llmaterialeditor.cpp
@@ -3285,7 +3285,7 @@ S32 LLMaterialEditor::saveTextures()
work_count++;
// For ease of inventory management, we prepend the material name.
- std::string name = mMaterialName + ": " + mNormalName;
+ std::string name = mMaterialName + ": " + mMetallicRoughnessName;
saveTexture(mMetallicRoughnessJ2C, name, mMetallicTextureUploadId, [key](LLUUID newAssetId, LLSD response)
{
@@ -3328,7 +3328,7 @@ S32 LLMaterialEditor::saveTextures()
work_count++;
// For ease of inventory management, we prepend the material name.
- std::string name = mMaterialName + ": " + mNormalName;
+ std::string name = mMaterialName + ": " + mEmissiveName;
saveTexture(mEmissiveJ2C, name, mEmissiveTextureUploadId, [key](LLUUID newAssetId, LLSD response)
{