summaryrefslogtreecommitdiff
path: root/indra/newview/llwearable.h
diff options
context:
space:
mode:
authorEric M. Tulla (BigPapi) <tulla@lindenlab.com>2009-12-03 13:58:14 -0500
committerEric M. Tulla (BigPapi) <tulla@lindenlab.com>2009-12-03 13:58:14 -0500
commited0596cfc7150021fdb37faa77fdf1b51859bc4b (patch)
tree97015bf7fbde4a3bfc5f8c1f4e8efa2af6e5029b /indra/newview/llwearable.h
parent1de537d1bd0532269960490e859259ebe9391834 (diff)
parentb05ebd89775792762063d3af08f0fe9ae785454a (diff)
merge of avatar-pipeline branch into viewer2
Diffstat (limited to 'indra/newview/llwearable.h')
-rw-r--r--indra/newview/llwearable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llwearable.h b/indra/newview/llwearable.h
index 43ffa12420..82d388ab7e 100644
--- a/indra/newview/llwearable.h
+++ b/indra/newview/llwearable.h
@@ -133,6 +133,10 @@ public:
// Something happened that requires the wearable's label to be updated (e.g. worn/unworn).
void setLabelUpdated() const;
+ // the wearable was worn. make sure the name of the wearable object matches the LLViewerInventoryItem,
+ // not the wearable asset itself.
+ void refreshName();
+
private:
typedef std::map<S32, LLLocalTextureObject*> te_map_t;
typedef std::map<S32, LLVisualParam *> visual_param_index_map_t;