diff options
Diffstat (limited to '')
-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"); |