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/Framework | |
parent | use central animationset permitions define (diff) | |
download | opensim-SC_OLD-fcad64209c29c55cbec78ae94f221120e9956ebf.zip opensim-SC_OLD-fcad64209c29c55cbec78ae94f221120e9956ebf.tar.gz opensim-SC_OLD-fcad64209c29c55cbec78ae94f221120e9956ebf.tar.bz2 opensim-SC_OLD-fcad64209c29c55cbec78ae94f221120e9956ebf.tar.xz |
make c# more happy
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/AnimationSet.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/AnimationSet.cs b/OpenSim/Framework/AnimationSet.cs index 3f6987a..f91838e 100644 --- a/OpenSim/Framework/AnimationSet.cs +++ b/OpenSim/Framework/AnimationSet.cs | |||
@@ -40,12 +40,12 @@ namespace OpenSim.Framework | |||
40 | 40 | ||
41 | public const uint allowedPermitions = (uint)(PermissionMask.Copy | PermissionMask.Modify); | 41 | public const uint allowedPermitions = (uint)(PermissionMask.Copy | PermissionMask.Modify); |
42 | 42 | ||
43 | public uint enforcePermitions(uint currentPerm) | 43 | public static uint enforcePermition(uint currentPerm) |
44 | { | 44 | { |
45 | return currentPerm & allowedPermitions; | 45 | return currentPerm & allowedPermitions; |
46 | } | 46 | } |
47 | 47 | ||
48 | public void enforceItemPermitions(ref InventoryItemBase it) | 48 | public static void enforceItemPermitions(ref InventoryItemBase it) |
49 | { | 49 | { |
50 | if (it == null) | 50 | if (it == null) |
51 | return; | 51 | return; |