From c92ba1cc04c36d46b3569c06d8339cf897af65cc Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 15 Jan 2018 16:23:19 +0000 Subject: shut up some pesty warnings --- OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs | 1 + OpenSim/Region/PhysicsModules/BulletS/Tests/Raycast.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/PhysicsModules/BulletS') diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs b/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs index d182c34..2ca7dbc 100644 --- a/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs @@ -92,6 +92,7 @@ public sealed class BSCharacter : BSPhysObject Density = BSParam.AvatarDensity; _isPhysical = true; + _footOffset = footOffset; // Adjustments for zero X and Y made in Size() // This also computes avatar scale, volume, and mass SetAvatarSize(size, footOffset, true /* initializing */); diff --git a/OpenSim/Region/PhysicsModules/BulletS/Tests/Raycast.cs b/OpenSim/Region/PhysicsModules/BulletS/Tests/Raycast.cs index bfa95c1..a6f587e 100755 --- a/OpenSim/Region/PhysicsModules/BulletS/Tests/Raycast.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/Tests/Raycast.cs @@ -51,7 +51,7 @@ namespace OpenSim.Region.PhysicsModule.BulletS.Tests BSScene _physicsScene { get; set; } BSPrim _targetSphere { get; set; } Vector3 _targetSpherePosition { get; set; } - float _simulationTimeStep = 0.089f; +// float _simulationTimeStep = 0.089f; uint _targetLocalID = 123; -- cgit v1.1