diff options
author | Josh Bell <josh@lindenlab.com> | 2007-06-11 18:24:15 +0000 |
---|---|---|
committer | Josh Bell <josh@lindenlab.com> | 2007-06-11 18:24:15 +0000 |
commit | 28435a08988022f5dd1d0e931b6ad048b8950e11 (patch) | |
tree | d83112da5b9a3c0b9bf175e03c11aeda1d461382 /indra/newview/llpreviewgesture.cpp | |
parent | 309b56280bff46f1696aee73cbd25f2e61232bc7 (diff) |
NOTE: Partial merges of the maintenance branch up. The bulk of maintenance 62831:63347 is awaiting final QA and merging, post 1.17.0
svn merge -r 63182:63183 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance --> release
svn merge -r 63341:63342 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance --> release
svn merge -r 63420:63421 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance --> release
Rush in the following fixes:
* SL-27250 "Stop All Animations" doesn't work when stuck in a pose after teleporting
* SL-44718 VWR-1040: crash when opening several gestures quickly
* SL-44326 recurring error message in agni nightly #1
Diffstat (limited to 'indra/newview/llpreviewgesture.cpp')
-rw-r--r-- | indra/newview/llpreviewgesture.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpreviewgesture.cpp b/indra/newview/llpreviewgesture.cpp index 9710fc8bf2..c556e3f450 100644 --- a/indra/newview/llpreviewgesture.cpp +++ b/indra/newview/llpreviewgesture.cpp @@ -504,7 +504,7 @@ BOOL LLPreviewGesture::postBuild() addSounds(); - LLInventoryItem* item = getItem(); + const LLInventoryItem* item = getItem(); if (item) { @@ -830,7 +830,7 @@ void LLPreviewGesture::initDefaultGesture() void LLPreviewGesture::loadAsset() { - LLInventoryItem* item = getItem(); + const LLInventoryItem* item = getItem(); if (!item) return; LLUUID asset_id = item->getAssetUUID(); @@ -1100,7 +1100,7 @@ void LLPreviewGesture::saveIfNeeded() file.write((U8*)buffer, size); // Upload that asset to the database - LLInventoryItem* item = getItem(); + const LLInventoryItem* item = getItem(); if (item) { std::string agent_url = gAgent.getRegion()->getCapability("UpdateGestureAgentInventory"); |