summaryrefslogtreecommitdiff
path: root/indra/llinventory/llinventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llinventory/llinventory.h')
-rw-r--r--indra/llinventory/llinventory.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llinventory/llinventory.h b/indra/llinventory/llinventory.h
index 53a52cd324..d34046c310 100644
--- a/indra/llinventory/llinventory.h
+++ b/indra/llinventory/llinventory.h
@@ -200,6 +200,16 @@ public:
// EWearableType enumeration found in newview/llwearable.h
//
II_FLAGS_WEARABLES_MASK = 0xff,
+
+ // these bits need to be cleared whenever the asset_id is updated
+ // on a pre-existing inventory item (DEV-28098 and DEV-30997)
+ II_FLAGS_PERM_OVERWRITE_MASK = II_FLAGS_OBJECT_SLAM_PERM
+ | II_FLAGS_OBJECT_SLAM_SALE
+ | II_FLAGS_OBJECT_PERM_OVERWRITE_BASE
+ | II_FLAGS_OBJECT_PERM_OVERWRITE_OWNER
+ | II_FLAGS_OBJECT_PERM_OVERWRITE_GROUP
+ | II_FLAGS_OBJECT_PERM_OVERWRITE_EVERYONE
+ | II_FLAGS_OBJECT_PERM_OVERWRITE_NEXT_OWNER,
};
protected: