diff options
author | Mic Bowman | 2011-06-15 11:31:32 -0700 |
---|---|---|
committer | Mic Bowman | 2011-06-15 11:31:32 -0700 |
commit | ad84728aba1ea5efe0d237c89e1578657e6d8288 (patch) | |
tree | c73288cf710167ec00bf5dbcf71a26a4eec3d1d8 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Add the PhysActor to the correct SOP when duplicating a physical (diff) | |
download | opensim-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 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
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); |