SL-16087 [D545] New clothes do not have the word 'New' in their names
parent
f30cc7b5bb
commit
e3b869e6f1
|
|
@ -241,7 +241,8 @@ LLViewerWearable* LLWearableList::createNewWearable( LLWearableType::EType type,
|
|||
LLViewerWearable *wearable = generateNewWearable();
|
||||
wearable->setType( type, avatarp );
|
||||
|
||||
std::string name = LLWearableType::getInstance()->getTypeLabel(wearable->getType());
|
||||
// LLWearableType has pre-translated getTypeLabel(), but it returns 'name', not 'New Name'.
|
||||
std::string name = LLTrans::getString( LLWearableType::getInstance()->getTypeDefaultNewName(wearable->getType()) );
|
||||
wearable->setName( name );
|
||||
|
||||
LLPermissions perm;
|
||||
|
|
|
|||
Loading…
Reference in New Issue