summaryrefslogtreecommitdiff
path: root/indra/newview/llgesturemgr.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-06-17 17:37:28 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-06-17 17:37:28 -0400
commit347e88961c06b9febfedeb7dc35f2b12546b5118 (patch)
treef52eea37b9485ae2d353522a7559917957931037 /indra/newview/llgesturemgr.cpp
parent68b956b0d3069267737e4f26f93f2bba9ee6cd9c (diff)
EXT-4919 WIP - populating new users with more gestures, and activating appropriate ones
Diffstat (limited to 'indra/newview/llgesturemgr.cpp')
-rw-r--r--indra/newview/llgesturemgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llgesturemgr.cpp b/indra/newview/llgesturemgr.cpp
index 0996d09e25..6ffd534a53 100644
--- a/indra/newview/llgesturemgr.cpp
+++ b/indra/newview/llgesturemgr.cpp
@@ -139,6 +139,8 @@ void LLGestureMgr::activateGesture(const LLUUID& item_id)
{
LLViewerInventoryItem* item = gInventory.getItem(item_id);
if (!item) return;
+ if (item->getType() != LLAssetType::AT_GESTURE)
+ return;
LLUUID asset_id = item->getAssetUUID();