diff options
author | UbitUmarov | 2014-09-22 23:32:55 +0100 |
---|---|---|
committer | UbitUmarov | 2014-09-22 23:32:55 +0100 |
commit | 79e47eb60e304fba1bdf04b57d374a843c250ef8 (patch) | |
tree | 435e2feaab8268bdf9731e712864af8951076475 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | debug show stack trace (diff) | |
download | opensim-SC-79e47eb60e304fba1bdf04b57d374a843c250ef8.zip opensim-SC-79e47eb60e304fba1bdf04b57d374a843c250ef8.tar.gz opensim-SC-79e47eb60e304fba1bdf04b57d374a843c250ef8.tar.bz2 opensim-SC-79e47eb60e304fba1bdf04b57d374a843c250ef8.tar.xz |
some changes in link/unlink code, bypassing complex variables set methods
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 43ae880..de07131 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -771,9 +771,20 @@ namespace OpenSim.Region.Framework.Scenes | |||
771 | set { m_damage = value; } | 771 | set { m_damage = value; } |
772 | } | 772 | } |
773 | 773 | ||
774 | |||
775 | |||
776 | |||
777 | public void setGroupPosition(Vector3 pos) | ||
778 | { | ||
779 | m_groupPosition = pos; | ||
780 | } | ||
781 | |||
774 | /// <summary> | 782 | /// <summary> |
775 | /// The position of the entire group that this prim belongs to. | 783 | /// The position of the entire group that this prim belongs to. |
776 | /// </summary> | 784 | /// </summary> |
785 | /// | ||
786 | |||
787 | |||
777 | public Vector3 GroupPosition | 788 | public Vector3 GroupPosition |
778 | { | 789 | { |
779 | get | 790 | get |
@@ -811,7 +822,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
811 | // Root prim actually goes at Position | 822 | // Root prim actually goes at Position |
812 | if (ParentID == 0) | 823 | if (ParentID == 0) |
813 | { | 824 | { |
814 | actor.Position = value; | 825 | actor.Position = value; |
815 | } | 826 | } |
816 | else | 827 | else |
817 | { | 828 | { |
@@ -832,6 +843,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
832 | } | 843 | } |
833 | } | 844 | } |
834 | 845 | ||
846 | public void setOffsetPosition(Vector3 pos) | ||
847 | { | ||
848 | m_offsetPosition = pos; | ||
849 | } | ||
850 | |||
835 | public Vector3 OffsetPosition | 851 | public Vector3 OffsetPosition |
836 | { | 852 | { |
837 | get { return m_offsetPosition; } | 853 | get { return m_offsetPosition; } |
@@ -890,6 +906,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
890 | } | 906 | } |
891 | } | 907 | } |
892 | 908 | ||
909 | public void setRotationOffset(Quaternion q) | ||
910 | { | ||
911 | m_rotationOffset = q; | ||
912 | } | ||
913 | |||
893 | public Quaternion RotationOffset | 914 | public Quaternion RotationOffset |
894 | { | 915 | { |
895 | get | 916 | get |