diff options
author | Oren Hurvitz | 2014-04-22 20:04:12 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-23 16:37:36 +0300 |
commit | 998d7009a65def0a4debc9369d35b63611db5b55 (patch) | |
tree | d1303dc0387ae9ce4ddb076d5ccc856f3d5844e0 /OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs | |
parent | Workaround for SRAS: if Store Asset returns 'null' then assume the asset alre... (diff) | |
download | opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.zip opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.tar.gz opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.tar.bz2 opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.tar.xz |
Eliminated many warnings
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs index 769896b..05374e8 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs | |||
@@ -42,7 +42,9 @@ namespace OpenSim.Region.Physics.BulletSPlugin | |||
42 | { | 42 | { |
43 | public sealed class BSDynamics : BSActor | 43 | public sealed class BSDynamics : BSActor |
44 | { | 44 | { |
45 | #pragma warning disable 414 | ||
45 | private static string LogHeader = "[BULLETSIM VEHICLE]"; | 46 | private static string LogHeader = "[BULLETSIM VEHICLE]"; |
47 | #pragma warning restore 414 | ||
46 | 48 | ||
47 | // the prim this dynamic controller belongs to | 49 | // the prim this dynamic controller belongs to |
48 | private BSPrimLinkable ControllingPrim { get; set; } | 50 | private BSPrimLinkable ControllingPrim { get; set; } |
@@ -123,7 +125,9 @@ namespace OpenSim.Region.Physics.BulletSPlugin | |||
123 | 125 | ||
124 | // Just some recomputed constants: | 126 | // Just some recomputed constants: |
125 | static readonly float PIOverFour = ((float)Math.PI) / 4f; | 127 | static readonly float PIOverFour = ((float)Math.PI) / 4f; |
128 | #pragma warning disable 414 | ||
126 | static readonly float PIOverTwo = ((float)Math.PI) / 2f; | 129 | static readonly float PIOverTwo = ((float)Math.PI) / 2f; |
130 | #pragma warning restore 414 | ||
127 | 131 | ||
128 | public BSDynamics(BSScene myScene, BSPrim myPrim, string actorName) | 132 | public BSDynamics(BSScene myScene, BSPrim myPrim, string actorName) |
129 | : base(myScene, myPrim, actorName) | 133 | : base(myScene, myPrim, actorName) |