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:
Nyx Linden
2013-03-01 19:39:47 -05:00
committed by Latif Khalifa
parent 0866685971
commit 554a03d569

View File

@@ -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();