diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-11-25 10:48:25 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-11-25 10:48:25 -0500 |
commit | 33450e6f1fc95e3552d2115bf7e4fcf05f3d7916 (patch) | |
tree | c1eb91a2cf7c6346d5c5d9c72a1ed841643ee52c /indra/newview/llwearable.cpp | |
parent | 41eb231e6a41da13549e5cbd4cfe6f5efeab74b1 (diff) | |
parent | ccf6cb3f9ba387117720d700b73ac8e05dbf1f75 (diff) |
Automated merge of ssh://hg.lindenlab.com/tulla/avatar-pipeline-2-0/
Diffstat (limited to 'indra/newview/llwearable.cpp')
-rw-r--r-- | indra/newview/llwearable.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/indra/newview/llwearable.cpp b/indra/newview/llwearable.cpp index ced0b64896..d92da4ef44 100644 --- a/indra/newview/llwearable.cpp +++ b/indra/newview/llwearable.cpp @@ -421,18 +421,6 @@ BOOL LLWearable::importFile( LLFILE* file ) // copy all saved param values to working params revertValues(); - // Hack pt 2. If the wearable we just loaded has definition version 24, - // then force a re-save of this wearable after slamming the version number to 22. - // This number was incorrectly incremented for internal builds before release, and - // this fix will ensure that the affected wearables are re-saved with the right version number. - // the versions themselves are compatible. This code can be removed before release. - if( mDefinitionVersion == 24 ) - { - mDefinitionVersion = 22; - U32 index = gAgentWearables.getWearableIndex(this); - gAgentWearables.saveWearable(mType,index,TRUE); - } - return TRUE; } |