mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
some changes in link/unlink code, bypassing complex variables set methods
This commit is contained in:
@@ -771,9 +771,20 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
set { m_damage = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void setGroupPosition(Vector3 pos)
|
||||
{
|
||||
m_groupPosition = pos;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The position of the entire group that this prim belongs to.
|
||||
/// </summary>
|
||||
///
|
||||
|
||||
|
||||
public Vector3 GroupPosition
|
||||
{
|
||||
get
|
||||
@@ -811,7 +822,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
// Root prim actually goes at Position
|
||||
if (ParentID == 0)
|
||||
{
|
||||
actor.Position = value;
|
||||
actor.Position = value;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -832,6 +843,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
public void setOffsetPosition(Vector3 pos)
|
||||
{
|
||||
m_offsetPosition = pos;
|
||||
}
|
||||
|
||||
public Vector3 OffsetPosition
|
||||
{
|
||||
get { return m_offsetPosition; }
|
||||
@@ -890,6 +906,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
public void setRotationOffset(Quaternion q)
|
||||
{
|
||||
m_rotationOffset = q;
|
||||
}
|
||||
|
||||
public Quaternion RotationOffset
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user