llprimitive merge

This commit is contained in:
Shyotl
2016-04-08 19:32:13 -05:00
parent 691a5395ca
commit d40256fb31
10 changed files with 72 additions and 31 deletions

View File

@@ -1539,10 +1539,7 @@ LLModel* LLModel::loadModelFromDomMesh(domMesh *mesh)
std::string LLModel::getName() const
{
if (!mRequestedLabel.empty())
return mRequestedLabel;
else
return mLabel;
return mRequestedLabel.empty() ? mLabel : mRequestedLabel;
}
//static