diff options
author | UbitUmarov | 2014-09-26 14:22:54 +0100 |
---|---|---|
committer | UbitUmarov | 2014-09-26 14:22:54 +0100 |
commit | 90cad824050ffbd081baf5338638e2e6d95903f2 (patch) | |
tree | 61b7840c4098972f8160492932c0649c789ff540 | |
parent | make c# more happy (diff) | |
download | opensim-SC_OLD-90cad824050ffbd081baf5338638e2e6d95903f2.zip opensim-SC_OLD-90cad824050ffbd081baf5338638e2e6d95903f2.tar.gz opensim-SC_OLD-90cad824050ffbd081baf5338638e2e6d95903f2.tar.bz2 opensim-SC_OLD-90cad824050ffbd081baf5338638e2e6d95903f2.tar.xz |
remove unnecessary argument ref
-rw-r--r-- | OpenSim/Framework/AnimationSet.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/AnimationSet.cs b/OpenSim/Framework/AnimationSet.cs index f91838e..7e6aa17 100644 --- a/OpenSim/Framework/AnimationSet.cs +++ b/OpenSim/Framework/AnimationSet.cs | |||
@@ -45,7 +45,7 @@ namespace OpenSim.Framework | |||
45 | return currentPerm & allowedPermitions; | 45 | return currentPerm & allowedPermitions; |
46 | } | 46 | } |
47 | 47 | ||
48 | public static void enforceItemPermitions(ref InventoryItemBase it) | 48 | public static void enforceItemPermitions(InventoryItemBase it) |
49 | { | 49 | { |
50 | if (it == null) | 50 | if (it == null) |
51 | return; | 51 | return; |
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index a31532b..1e28db0 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -1125,7 +1125,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
1125 | 1125 | ||
1126 | if (inType == (sbyte)CustomInventoryType.AnimationSet) | 1126 | if (inType == (sbyte)CustomInventoryType.AnimationSet) |
1127 | { | 1127 | { |
1128 | AnimationSet.enforceItemPermitions(ref item); | 1128 | AnimationSet.enforceItemPermitions(item); |
1129 | } | 1129 | } |
1130 | 1130 | ||
1131 | else if (restrictPerms) | 1131 | else if (restrictPerms) |