diff options
author | Jacek Antonelli | 2008-08-15 23:44:58 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:58 -0500 |
commit | 089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch) | |
tree | 0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/newview/llpreviewgesture.cpp | |
parent | Second Life viewer sources 1.16.0.5 (diff) | |
download | meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2 meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz |
Second Life viewer sources 1.17.0.12
Diffstat (limited to 'linden/indra/newview/llpreviewgesture.cpp')
-rw-r--r-- | linden/indra/newview/llpreviewgesture.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llpreviewgesture.cpp b/linden/indra/newview/llpreviewgesture.cpp index 2bb0108..23e6aa5 100644 --- a/linden/indra/newview/llpreviewgesture.cpp +++ b/linden/indra/newview/llpreviewgesture.cpp | |||
@@ -524,7 +524,7 @@ BOOL LLPreviewGesture::postBuild() | |||
524 | addSounds(); | 524 | addSounds(); |
525 | 525 | ||
526 | 526 | ||
527 | LLInventoryItem* item = getItem(); | 527 | const LLInventoryItem* item = getItem(); |
528 | 528 | ||
529 | if (item) | 529 | if (item) |
530 | { | 530 | { |
@@ -850,7 +850,7 @@ void LLPreviewGesture::initDefaultGesture() | |||
850 | 850 | ||
851 | void LLPreviewGesture::loadAsset() | 851 | void LLPreviewGesture::loadAsset() |
852 | { | 852 | { |
853 | LLInventoryItem* item = getItem(); | 853 | const LLInventoryItem* item = getItem(); |
854 | if (!item) return; | 854 | if (!item) return; |
855 | 855 | ||
856 | LLUUID asset_id = item->getAssetUUID(); | 856 | LLUUID asset_id = item->getAssetUUID(); |
@@ -1120,7 +1120,7 @@ void LLPreviewGesture::saveIfNeeded() | |||
1120 | file.write((U8*)buffer, size); | 1120 | file.write((U8*)buffer, size); |
1121 | 1121 | ||
1122 | // Upload that asset to the database | 1122 | // Upload that asset to the database |
1123 | LLInventoryItem* item = getItem(); | 1123 | const LLInventoryItem* item = getItem(); |
1124 | if (item) | 1124 | if (item) |
1125 | { | 1125 | { |
1126 | std::string agent_url = gAgent.getRegion()->getCapability("UpdateGestureAgentInventory"); | 1126 | std::string agent_url = gAgent.getRegion()->getCapability("UpdateGestureAgentInventory"); |