mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
move resit fix to ScenePresence.cs and allow for requesting sit on objects other than the object currently sat on
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
795009cae2
commit
e2823bfefe
@@ -1954,6 +1954,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
if (ParentID != 0)
|
||||
{
|
||||
var targetPart = m_scene.GetSceneObjectPart(targetID);
|
||||
if (targetPart != null && targetPart.LocalId == ParentID)
|
||||
return; // already sitting here, ignore
|
||||
|
||||
StandUp();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user