diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 42cc1ce..703b986 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1220,14 +1220,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
1220 | } | 1220 | } |
1221 | } | 1221 | } |
1222 | 1222 | ||
1223 | |||
1224 | public UUID SitTargetAvatar | 1223 | public UUID SitTargetAvatar |
1225 | { | 1224 | { |
1226 | get { return m_sitTargetAvatar; } | 1225 | get { return m_sitTargetAvatar; } |
1227 | set { m_sitTargetAvatar = value; } | 1226 | set { m_sitTargetAvatar = value; } |
1228 | } | 1227 | } |
1229 | 1228 | ||
1230 | |||
1231 | public virtual UUID RegionID | 1229 | public virtual UUID RegionID |
1232 | { | 1230 | { |
1233 | get | 1231 | get |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 972e7fc..dd1a29d 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -615,13 +615,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
615 | set { m_isChildAgent = value; } | 615 | set { m_isChildAgent = value; } |
616 | } | 616 | } |
617 | 617 | ||
618 | private uint m_parentID; | ||
619 | |||
620 | public uint ParentID | 618 | public uint ParentID |
621 | { | 619 | { |
622 | get { return m_parentID; } | 620 | get { return m_parentID; } |
623 | set { m_parentID = value; } | 621 | set { m_parentID = value; } |
624 | } | 622 | } |
623 | private uint m_parentID; | ||
624 | |||
625 | public float Health | 625 | public float Health |
626 | { | 626 | { |
627 | get { return m_health; } | 627 | get { return m_health; } |
@@ -1962,6 +1962,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1962 | ) | 1962 | ) |
1963 | )); | 1963 | )); |
1964 | 1964 | ||
1965 | // m_log.DebugFormat("[SCENE PRESENCE]: {0} {1}", SitTargetisSet, SitTargetUnOccupied); | ||
1966 | |||
1965 | if (SitTargetisSet && SitTargetUnOccupied) | 1967 | if (SitTargetisSet && SitTargetUnOccupied) |
1966 | { | 1968 | { |
1967 | part.SitTargetAvatar = UUID; | 1969 | part.SitTargetAvatar = UUID; |
@@ -2256,7 +2258,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2256 | } | 2258 | } |
2257 | */ | 2259 | */ |
2258 | 2260 | ||
2259 | |||
2260 | public void HandleAgentSit(IClientAPI remoteClient, UUID agentID) | 2261 | public void HandleAgentSit(IClientAPI remoteClient, UUID agentID) |
2261 | { | 2262 | { |
2262 | if (!String.IsNullOrEmpty(m_nextSitAnimation)) | 2263 | if (!String.IsNullOrEmpty(m_nextSitAnimation)) |