Add a few comments, correct a merge artefact

iar_mods
Melanie 2011-12-22 16:51:51 +00:00
parent 2347593dac
commit 6412349dec
1 changed files with 6 additions and 1 deletions

View File

@ -570,6 +570,8 @@ namespace OpenSim.Region.Framework.Scenes
public Vector3 OffsetPosition
{
get { return m_pos; }
// Don't remove setter. It's not currently used in core but
// upcoming Avination code needs it.
set
{
// There is no offset position when not seated
@ -2751,7 +2753,10 @@ namespace OpenSim.Region.Framework.Scenes
if (IsChildAgent)
return;
if (ParentID != 0)
// If we don't have a PhysActor, we can't cross anyway
// Also don't do this while sat, sitting avatars cross with the
// object they sit on.
if (ParentID != 0 || PhysActor == null)
return;
if (!IsInTransit)