From 998d7009a65def0a4debc9369d35b63611db5b55 Mon Sep 17 00:00:00 2001 From: Oren Hurvitz Date: Tue, 22 Apr 2014 20:04:12 +0300 Subject: Eliminated many warnings --- OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs') diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs b/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs index fbe320b..b344ba1 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs @@ -554,7 +554,10 @@ public class BSShapeMesh : BSShape // ============================================================================================================ public class BSShapeHull : BSShape { +#pragma warning disable 414 private static string LogHeader = "[BULLETSIM SHAPE HULL]"; +#pragma warning restore 414 + public static Dictionary Hulls = new Dictionary(); public BSShapeHull(BulletShape pShape) : base(pShape) @@ -1002,7 +1005,10 @@ public class BSShapeCompound : BSShape // ============================================================================================================ public class BSShapeConvexHull : BSShape { +#pragma warning disable 414 private static string LogHeader = "[BULLETSIM SHAPE CONVEX HULL]"; +#pragma warning restore 414 + public static Dictionary ConvexHulls = new Dictionary(); public BSShapeConvexHull(BulletShape pShape) : base(pShape) @@ -1098,7 +1104,10 @@ public class BSShapeConvexHull : BSShape // ============================================================================================================ public class BSShapeGImpact : BSShape { +#pragma warning disable 414 private static string LogHeader = "[BULLETSIM SHAPE GIMPACT]"; +#pragma warning restore 414 + public static Dictionary GImpacts = new Dictionary(); public BSShapeGImpact(BulletShape pShape) : base(pShape) @@ -1205,8 +1214,12 @@ public class BSShapeGImpact : BSShape // ============================================================================================================ public class BSShapeAvatar : BSShape { +#pragma warning disable 414 private static string LogHeader = "[BULLETSIM SHAPE AVATAR]"; - public BSShapeAvatar() : base() +#pragma warning restore 414 + + public BSShapeAvatar() + : base() { } public static BSShape GetReference(BSPhysObject prim) -- cgit v1.1