diff options
author | Jacek Antonelli | 2008-08-15 23:45:24 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:24 -0500 |
commit | 0a78fa3920b32a51f01ebe7cfa30be45134f398f (patch) | |
tree | 7d0ebbf55bcb0a77c3957dd64315574281cc2f54 /linden/indra/newview/llfloaterproperties.cpp | |
parent | Second Life viewer sources 1.18.6.2-RC (diff) | |
download | meta-impy-0a78fa3920b32a51f01ebe7cfa30be45134f398f.zip meta-impy-0a78fa3920b32a51f01ebe7cfa30be45134f398f.tar.gz meta-impy-0a78fa3920b32a51f01ebe7cfa30be45134f398f.tar.bz2 meta-impy-0a78fa3920b32a51f01ebe7cfa30be45134f398f.tar.xz |
Second Life viewer sources 1.18.6.4-RC
Diffstat (limited to 'linden/indra/newview/llfloaterproperties.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterproperties.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterproperties.cpp b/linden/indra/newview/llfloaterproperties.cpp index 538e841..a1e6565 100644 --- a/linden/indra/newview/llfloaterproperties.cpp +++ b/linden/indra/newview/llfloaterproperties.cpp | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2002-2007, Linden Research, Inc. | 7 | * Copyright (c) 2002-2008, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -867,6 +867,12 @@ void LLFloaterProperties::updateSaleInfo() | |||
867 | && item->isComplete()) | 867 | && item->isComplete()) |
868 | { | 868 | { |
869 | LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(item); | 869 | LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(item); |
870 | |||
871 | // Force an update on the sale price. | ||
872 | U32 flags = new_item->getFlags(); | ||
873 | flags |= LLInventoryItem::II_FLAGS_OBJECT_SLAM_SALE; | ||
874 | new_item->setFlags(flags); | ||
875 | |||
870 | new_item->setSaleInfo(sale_info); | 876 | new_item->setSaleInfo(sale_info); |
871 | if(mObjectID.isNull()) | 877 | if(mObjectID.isNull()) |
872 | { | 878 | { |