aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie Thielker2017-01-16 14:53:42 +0000
committerMelanie Thielker2017-01-16 14:53:42 +0000
commit568614af2cee0c9e6cd86dd682c7bc768afe655b (patch)
treead04210b5c1cf9f3e61e6cd12f775eb5fbaeba74 /OpenSim/Framework
parentuse of PermissionMask Bit3 for slam was a recent mistake, so make it only bit... (diff)
downloadopensim-SC_OLD-568614af2cee0c9e6cd86dd682c7bc768afe655b.zip
opensim-SC_OLD-568614af2cee0c9e6cd86dd682c7bc768afe655b.tar.gz
opensim-SC_OLD-568614af2cee0c9e6cd86dd682c7bc768afe655b.tar.bz2
opensim-SC_OLD-568614af2cee0c9e6cd86dd682c7bc768afe655b.tar.xz
Remove the last instance of the legacy slam but being set
New objects now get only the real slam bit.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Util.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 2deb1fb..0037f4f 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -67,6 +67,14 @@ namespace OpenSim.Framework
67 FoldedModify = 1 << 1, 67 FoldedModify = 1 << 1,
68 FoldedCopy = 1 << 2, 68 FoldedCopy = 1 << 2,
69 FoldedExport = 1 << 3, 69 FoldedExport = 1 << 3,
70
71 // DO NOT USE THIS FOR NEW WORK. IT IS DEPRECATED AND
72 // EXISTS ONLY TO REACT TO EXISTING OBJECTS HAVING IT.
73 // NEW CODE SHOULD NEVER SET THIS BIT!
74 // Use InventoryItemFlags.ObjectSlamPerm in the Flags field of
75 // this legacy slam bit. It comes from prior incomplete
76 // understanding of the code and the prohibition on
77 // reading viewer code that used to be in place.
70 Slam = (1 << 4), 78 Slam = (1 << 4),
71 79
72 FoldedMask = 0x0f, 80 FoldedMask = 0x0f,