summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindra/newview/llfloatermodelpreview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp
index 6783d3d1dc..0ce8dcd46b 100755
--- a/indra/newview/llfloatermodelpreview.cpp
+++ b/indra/newview/llfloatermodelpreview.cpp
@@ -2080,7 +2080,7 @@ bool LLModelLoader::loadFromSLM(const std::string& filename)
std::string name = data["name"];
if (!name.empty())
{
- model[LLModel::LOD_HIGH][0]->mLabel = data["name"];
+ model[LLModel::LOD_HIGH][0]->mLabel = name;
}