diff options
author | UbitUmarov | 2014-09-26 14:17:01 +0100 |
---|---|---|
committer | UbitUmarov | 2014-09-26 14:17:01 +0100 |
commit | fcad64209c29c55cbec78ae94f221120e9956ebf (patch) | |
tree | 2091b02965fabf2688d647cb3675e782f46a8a63 /OpenSim/Region/ClientStack/Linden/Caps | |
parent | use central animationset permitions define (diff) | |
download | opensim-SC-fcad64209c29c55cbec78ae94f221120e9956ebf.zip opensim-SC-fcad64209c29c55cbec78ae94f221120e9956ebf.tar.gz opensim-SC-fcad64209c29c55cbec78ae94f221120e9956ebf.tar.bz2 opensim-SC-fcad64209c29c55cbec78ae94f221120e9956ebf.tar.xz |
make c# more happy
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index a32593a..a31532b 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -1125,10 +1125,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
1125 | 1125 | ||
1126 | if (inType == (sbyte)CustomInventoryType.AnimationSet) | 1126 | if (inType == (sbyte)CustomInventoryType.AnimationSet) |
1127 | { | 1127 | { |
1128 | item.BasePermissions = AnimationSet.allowedPermitions; | 1128 | AnimationSet.enforceItemPermitions(ref item); |
1129 | item.CurrentPermissions = AnimationSet.allowedPermitions; | ||
1130 | item.EveryOnePermissions = 0; | ||
1131 | item.NextPermissions = 0; | ||
1132 | } | 1129 | } |
1133 | 1130 | ||
1134 | else if (restrictPerms) | 1131 | else if (restrictPerms) |