aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorMelanie2009-11-04 23:29:42 +0000
committerMelanie2009-11-04 23:29:42 +0000
commita431f346e729dddc310f4a43f07ce599edc61ca0 (patch)
treee53dd04c0fd173ace890072529894554c7ee0556 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentRefine oversized packet handling as per jhurliman. Reallocate the buffer to (diff)
parentInitialize SceneObjectPart.RotationOffset to Quaternion.Identity (diff)
downloadopensim-SC_OLD-a431f346e729dddc310f4a43f07ce599edc61ca0.zip
opensim-SC_OLD-a431f346e729dddc310f4a43f07ce599edc61ca0.tar.gz
opensim-SC_OLD-a431f346e729dddc310f4a43f07ce599edc61ca0.tar.bz2
opensim-SC_OLD-a431f346e729dddc310f4a43f07ce599edc61ca0.tar.xz
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 124f4c0..1e9201e 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -481,6 +481,12 @@ namespace OpenSim.Region.Framework.Scenes
481 } 481 }
482 } 482 }
483 483
484 public Quaternion Rotation
485 {
486 get { return m_bodyRot; }
487 set { m_bodyRot = value; }
488 }
489
484 /// <summary> 490 /// <summary>
485 /// If this is true, agent doesn't have a representation in this scene. 491 /// If this is true, agent doesn't have a representation in this scene.
486 /// this is an agent 'looking into' this scene from a nearby scene(region) 492 /// this is an agent 'looking into' this scene from a nearby scene(region)
@@ -2256,7 +2262,7 @@ namespace OpenSim.Region.Framework.Scenes
2256 2262
2257 m_perfMonMS = Environment.TickCount; 2263 m_perfMonMS = Environment.TickCount;
2258 2264
2259 m_rotation = rotation; 2265 Rotation = rotation;
2260 Vector3 direc = vec * rotation; 2266 Vector3 direc = vec * rotation;
2261 direc.Normalize(); 2267 direc.Normalize();
2262 2268