diff options
author | Nyx Linden <nyx@lindenlab.com> | 2013-03-01 19:39:47 -0500 |
---|---|---|
committer | Nyx Linden <nyx@lindenlab.com> | 2013-03-01 19:39:47 -0500 |
commit | 3e5599a827238faa4fcccfad9702428ce4ea6f46 (patch) | |
tree | f926c36d79230119aae90d4e95b74f23344782e0 /indra | |
parent | 3005bdf7aa628953bf640c1ab69ea7299b5876b1 (diff) |
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.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llwearablelist.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llwearablelist.cpp b/indra/newview/llwearablelist.cpp index 507ce57e79..ef1a953f59 100755 --- a/indra/newview/llwearablelist.cpp +++ b/indra/newview/llwearablelist.cpp @@ -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(); |