From 5ae8de3c00cdf5d200b3158116a1e1fd9a404229 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 29 Oct 2011 01:39:48 +0100 Subject: Stop setting _position as well as m_taint_position in ODECharacter.Position setting position at the same time as taint appears to undermine the whole purpose of taint testing doesn't reveal any obvious regressions in doing this --- OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'OpenSim/Region/Physics/OdePlugin') diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index c22d27f..5ad7616 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs @@ -431,13 +431,10 @@ namespace OpenSim.Region.Physics.OdePlugin value.Z = _parent_scene.GetTerrainHeightAtXY(127, 127) + 5; } - _position.X = value.X; - _position.Y = value.Y; - _position.Z = value.Z; - m_taintPosition.X = value.X; m_taintPosition.Y = value.Y; m_taintPosition.Z = value.Z; + _parent_scene.AddPhysicsActorTaint(this); } else -- cgit v1.1