SH-3649 WIP newly created pants do not show up on mac/windows.
Added an initializer for the wearable definition version when creating a new wearable. Should fix the issue but need to test.
This commit is contained in:
committed by
Latif Khalifa
parent
0866685971
commit
554a03d569
@@ -249,6 +249,8 @@ LLViewerWearable* LLWearableList::createNewWearable( LLWearableType::EType type,
|
||||
perm.initMasks(PERM_ALL, PERM_ALL, PERM_NONE, PERM_NONE, PERM_MOVE | PERM_TRANSFER);
|
||||
wearable->setPermissions(perm);
|
||||
|
||||
wearable->setDefinitionVersion(LLWearable::getCurrentDefinitionVersion());
|
||||
|
||||
// Description and sale info have default values.
|
||||
wearable->setParamsToDefaults();
|
||||
wearable->setTexturesToDefaults();
|
||||
|
||||
Reference in New Issue
Block a user