aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorMic Bowman2011-06-15 11:31:32 -0700
committerMic Bowman2011-06-15 11:31:32 -0700
commitad84728aba1ea5efe0d237c89e1578657e6d8288 (patch)
treec73288cf710167ec00bf5dbcf71a26a4eec3d1d8 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentAdd the PhysActor to the correct SOP when duplicating a physical (diff)
downloadopensim-SC_OLD-ad84728aba1ea5efe0d237c89e1578657e6d8288.zip
opensim-SC_OLD-ad84728aba1ea5efe0d237c89e1578657e6d8288.tar.gz
opensim-SC_OLD-ad84728aba1ea5efe0d237c89e1578657e6d8288.tar.bz2
opensim-SC_OLD-ad84728aba1ea5efe0d237c89e1578657e6d8288.tar.xz
Add localID to physical object creation functions.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index f6295b1..80aafd0 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3295,7 +3295,7 @@ namespace OpenSim.Region.Framework.Scenes
3295 Vector3 pVec = AbsolutePosition; 3295 Vector3 pVec = AbsolutePosition;
3296 3296
3297 // Old bug where the height was in centimeters instead of meters 3297 // Old bug where the height was in centimeters instead of meters
3298 m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec, 3298 m_physicsActor = scene.AddAvatar(LocalId, Firstname + "." + Lastname, pVec,
3299 new Vector3(0f, 0f, m_appearance.AvatarHeight), isFlying); 3299 new Vector3(0f, 0f, m_appearance.AvatarHeight), isFlying);
3300 3300
3301 scene.AddPhysicsActorTaint(m_physicsActor); 3301 scene.AddPhysicsActorTaint(m_physicsActor);