summaryrefslogtreecommitdiff
path: root/indra/newview/llwearablelist.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-12-18 12:32:01 -0800
committerJames Cook <james@lindenlab.com>2009-12-18 12:32:01 -0800
commitefdfc74b21f5d6386cc03136c4d2a8dcf07f9958 (patch)
tree620d86df1d2b2cc409109eace7888cb68e1dc921 /indra/newview/llwearablelist.cpp
parenteb501f3231aacb2fd97d8428bb2d25b818b26263 (diff)
parentc1b58587dfe4711383b1878d341527221d2c298f (diff)
Merge with viewer-2-0 again, to pick up avatar changes
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;
}