From c34ab0ee669f674b29d863267e64104b1a3437ef Mon Sep 17 00:00:00 2001 From: Dan Lake Date: Mon, 12 Dec 2011 02:43:38 -0800 Subject: Cleaned up ScenePresence parameters for Flying, WasFlying, FlyingOld and IsColliding --- OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAnimationTests.cs | 2 +- OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAutopilotTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/Tests') diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAnimationTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAnimationTests.cs index 4a0533c..89f8007 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAnimationTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAnimationTests.cs @@ -61,7 +61,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests TestScene scene = SceneHelpers.SetupScene(); ScenePresence sp = SceneHelpers.AddScenePresence(scene, TestHelpers.ParseTail(0x1)); - sp.PhysicsActor.Flying = true; + sp.Flying = true; sp.PhysicsCollisionUpdate(new CollisionEventUpdate()); Assert.That(sp.Animator.CurrentMovementAnimation, Is.EqualTo("HOVER")); diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAutopilotTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAutopilotTests.cs index 64c36ff..442cb8b 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAutopilotTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceAutopilotTests.cs @@ -79,7 +79,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests // Vector3 startPos = new Vector3(128, 128, 30); // For now, we'll make the scene presence fly to simplify this test, but this needs to change. - sp.PhysicsActor.Flying = true; + sp.Flying = true; m_scene.Update(); Assert.That(sp.AbsolutePosition, Is.EqualTo(startPos)); -- cgit v1.1