diff options
author | Melanie | 2012-02-19 20:08:01 +0100 |
---|---|---|
committer | Melanie | 2012-02-19 20:08:01 +0100 |
commit | 96409cc2eeb4555609f72c8bc61fbdf4ac3e9933 (patch) | |
tree | 394a7a07ff913c8efa390399c190d5c65bf8f95b /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Merge branch 'master' of ssh://3dhosting.de/var/git/careminster (diff) | |
parent | moved vehicle from SOG to SOP (diff) | |
download | opensim-SC_OLD-96409cc2eeb4555609f72c8bc61fbdf4ac3e9933.zip opensim-SC_OLD-96409cc2eeb4555609f72c8bc61fbdf4ac3e9933.tar.gz opensim-SC_OLD-96409cc2eeb4555609f72c8bc61fbdf4ac3e9933.tar.bz2 opensim-SC_OLD-96409cc2eeb4555609f72c8bc61fbdf4ac3e9933.tar.xz |
Merge branch 'ubitwork'
Conflicts:
OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs
OpenSim/Region/Physics/ChOdePlugin/OdePlugin.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 429fc06..8a42616 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1843,8 +1843,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1843 | // m_log.DebugFormat("[SCENE PRESENCE]: StandUp() for {0}", Name); | 1843 | // m_log.DebugFormat("[SCENE PRESENCE]: StandUp() for {0}", Name); |
1844 | 1844 | ||
1845 | SitGround = false; | 1845 | SitGround = false; |
1846 | |||
1847 | /* move this down so avatar gets physical in the new position and not where it is siting | ||
1846 | if (PhysicsActor == null) | 1848 | if (PhysicsActor == null) |
1847 | AddToPhysicalScene(false); | 1849 | AddToPhysicalScene(false); |
1850 | */ | ||
1848 | 1851 | ||
1849 | if (ParentID != 0) | 1852 | if (ParentID != 0) |
1850 | { | 1853 | { |
@@ -1879,6 +1882,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1879 | ParentPosition = Vector3.Zero; | 1882 | ParentPosition = Vector3.Zero; |
1880 | 1883 | ||
1881 | ParentID = 0; | 1884 | ParentID = 0; |
1885 | |||
1886 | if (PhysicsActor == null) | ||
1887 | AddToPhysicalScene(false); | ||
1888 | |||
1882 | SendAvatarDataToAllAgents(); | 1889 | SendAvatarDataToAllAgents(); |
1883 | m_requestedSitTargetID = 0; | 1890 | m_requestedSitTargetID = 0; |
1884 | 1891 | ||
@@ -1886,6 +1893,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1886 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); | 1893 | part.ParentGroup.TriggerScriptChangedEvent(Changed.LINK); |
1887 | } | 1894 | } |
1888 | 1895 | ||
1896 | else if (PhysicsActor == null) | ||
1897 | AddToPhysicalScene(false); | ||
1898 | |||
1889 | Animator.TrySetMovementAnimation("STAND"); | 1899 | Animator.TrySetMovementAnimation("STAND"); |
1890 | } | 1900 | } |
1891 | 1901 | ||