Fix TestSitAndStandWithNoSitTarget NPC and SP tests.

These stopped working because current code calculates sit heights based on avatar physics rather than appearance data.
Also changed BasicPhysics to not divide Z param of all set sizes by 2 - there's no obvious good reason for this and basicphysics is only used in tests
This commit is contained in:
Justin Clark-Casey (justincc)
2013-12-14 00:10:32 +00:00
parent 11f177d6a8
commit 54cc229768
3 changed files with 4 additions and 15 deletions

View File

@@ -118,14 +118,7 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
public override Vector3 Position { get; set; }
public override Vector3 Size
{
get { return _size; }
set {
_size = value;
_size.Z = _size.Z / 2.0f;
}
}
public override Vector3 Size { get; set; }
public override PrimitiveBaseShape Shape
{