summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-03-01 19:39:47 -0500
committerNyx Linden <nyx@lindenlab.com>2013-03-01 19:39:47 -0500
commit3e5599a827238faa4fcccfad9702428ce4ea6f46 (patch)
treef926c36d79230119aae90d4e95b74f23344782e0
parent3005bdf7aa628953bf640c1ab69ea7299b5876b1 (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.
-rwxr-xr-xindra/newview/llwearablelist.cpp2
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();