diff options
author | Robert Adams | 2013-01-15 01:46:30 -0800 |
---|---|---|
committer | Robert Adams | 2013-01-15 01:46:30 -0800 |
commit | edf198b766e5866ddddb1974aae061e79cee750b (patch) | |
tree | a1d5a43a3edea5de80d03d9bddf7182cca403241 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | BulletSim: by default, turn on continuious collision detection (CCD) (diff) | |
parent | move resit fix to ScenePresence.cs and allow for requesting sit on objects ot... (diff) | |
download | opensim-SC_OLD-edf198b766e5866ddddb1974aae061e79cee750b.zip opensim-SC_OLD-edf198b766e5866ddddb1974aae061e79cee750b.tar.gz opensim-SC_OLD-edf198b766e5866ddddb1974aae061e79cee750b.tar.bz2 opensim-SC_OLD-edf198b766e5866ddddb1974aae061e79cee750b.tar.xz |
Merge branch 'master' of git://opensimulator.org/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 0219540..6979c33 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1954,6 +1954,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1954 | { | 1954 | { |
1955 | if (ParentID != 0) | 1955 | if (ParentID != 0) |
1956 | { | 1956 | { |
1957 | var targetPart = m_scene.GetSceneObjectPart(targetID); | ||
1958 | if (targetPart != null && targetPart.LocalId == ParentID) | ||
1959 | return; // already sitting here, ignore | ||
1960 | |||
1957 | StandUp(); | 1961 | StandUp(); |
1958 | } | 1962 | } |
1959 | 1963 | ||