summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-01-21 15:09:38 -0800
committerLeyla Farazha <leyla@lindenlab.com>2010-01-21 15:09:38 -0800
commit9ab7d647c155881781f71fd7774a130ddb24a41d (patch)
tree18227509d4e09e228f5fe823dd91669d69a0cfb3 /indra/newview/llinventorymodel.cpp
parentcdc5e5f494d3a961ad1b1ba4b17bfd049bc7b1c8 (diff)
EXT-3416 Can't name a new gesture on creation (and renaming is HARD)
reviewed by Callum
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r--indra/newview/llinventorymodel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index ef18386e57..ec9ddc49ad 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -755,6 +755,10 @@ U32 LLInventoryModel::updateItem(const LLViewerInventoryItem* item)
gCacheName->get(id, FALSE, boost::bind(&LLViewerInventoryItem::onCallingCardNameLookup, new_item.get(), _1, _2, _3));
}
}
+ else if (new_item->getType() == LLAssetType::AT_GESTURE)
+ {
+ mask |= LLInventoryObserver::GESTURE;
+ }
addChangedMask(mask, new_item->getUUID());
return mask;
}