diff --git a/autobuild.xml b/autobuild.xml
index 5bc45604b8..1b0d706062 100755
--- a/autobuild.xml
+++ b/autobuild.xml
@@ -1314,9 +1314,9 @@
archive
name
linux
diff --git a/indra/llappearance/llwearabledata.h b/indra/llappearance/llwearabledata.h
index a0c446ea9e..996c4c18b4 100755
--- a/indra/llappearance/llwearabledata.h
+++ b/indra/llappearance/llwearabledata.h
@@ -66,7 +66,8 @@ public:
BOOL isOnTop(LLWearable* wearable) const;
- static const U32 MAX_CLOTHING_LAYERS = 60;
+ // DO NOT COMMIT, TESTING ONLY!
+ static const U32 MAX_CLOTHING_LAYERS = 999;
//--------------------------------------------------------------------
// Setters