summaryrefslogtreecommitdiff
path: root/indra/newview/llwearablelist.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2009-12-18 15:19:24 -0500
committerLoren Shih <seraph@lindenlab.com>2009-12-18 15:19:24 -0500
commitc1b58587dfe4711383b1878d341527221d2c298f (patch)
tree4bdf329a3fa23039e5c9cbb3cca3ba005f652b57 /indra/newview/llwearablelist.cpp
parente0f5ce4ecff112857a03b5f9b61d29ef86209d24 (diff)
parentfd71944170e69b0fc47b45c385c33ef7acf4cafb (diff)
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/newview/llwearablelist.cpp')
-rw-r--r--indra/newview/llwearablelist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llwearablelist.cpp b/indra/newview/llwearablelist.cpp
index bd7619f7e5..5636256856 100644
--- a/indra/newview/llwearablelist.cpp
+++ b/indra/newview/llwearablelist.cpp
@@ -249,9 +249,13 @@ LLWearable* LLWearableList::createNewWearable( EWearableType type )
wearable->setParamsToDefaults();
wearable->setTexturesToDefaults();
+ //mark all values (params & images) as saved
+ wearable->saveValues();
+
// Send to the dataserver
wearable->saveNewAsset();
+
return wearable;
}