Remove the last instance of the legacy slam but being set

New objects now get only the real slam bit.
This commit is contained in:
Melanie Thielker
2017-01-16 14:53:42 +00:00
parent e475e65828
commit 568614af2c
4 changed files with 17 additions and 7 deletions

View File

@@ -67,6 +67,14 @@ namespace OpenSim.Framework
FoldedModify = 1 << 1,
FoldedCopy = 1 << 2,
FoldedExport = 1 << 3,
// DO NOT USE THIS FOR NEW WORK. IT IS DEPRECATED AND
// EXISTS ONLY TO REACT TO EXISTING OBJECTS HAVING IT.
// NEW CODE SHOULD NEVER SET THIS BIT!
// Use InventoryItemFlags.ObjectSlamPerm in the Flags field of
// this legacy slam bit. It comes from prior incomplete
// understanding of the code and the prohibition on
// reading viewer code that used to be in place.
Slam = (1 << 4),
FoldedMask = 0x0f,