Skip to content
Snippets Groups Projects
Commit 4d87303e authored by Josh Bell's avatar Josh Bell
Browse files
Cherry pick fix for showstopper fix: DEV-5701 / SVC-930: Prims set for sale - prices are incorrectly set when multiple prims taken to inventory and rezzed
parent 9f5ec4c6
No related branches found
No related tags found
No related merge requests found
...@@ -150,6 +150,9 @@ public: ...@@ -150,6 +150,9 @@ public:
// track attachment points. // track attachment points.
II_FLAGS_OBJECT_SLAM_PERM = 0x100, II_FLAGS_OBJECT_SLAM_PERM = 0x100,
// flag to indicate that the object sale information has been changed.
II_FLAGS_OBJECT_SLAM_SALE = 0x1000,
// These flags specify which permissions masks to overwrite // These flags specify which permissions masks to overwrite
// upon rez. Normally, if no permissions slam (above) or // upon rez. Normally, if no permissions slam (above) or
// overwrite flags are set, the asset's permissions are // overwrite flags are set, the asset's permissions are
......
...@@ -867,6 +867,12 @@ void LLFloaterProperties::updateSaleInfo() ...@@ -867,6 +867,12 @@ void LLFloaterProperties::updateSaleInfo()
&& item->isComplete()) && item->isComplete())
{ {
LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(item); LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(item);
// Force an update on the sale price.
U32 flags = new_item->getFlags();
flags |= LLInventoryItem::II_FLAGS_OBJECT_SLAM_SALE;
new_item->setFlags(flags);
new_item->setSaleInfo(sale_info); new_item->setSaleInfo(sale_info);
if(mObjectID.isNull()) if(mObjectID.isNull())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment