diff options
author | Melanie | 2010-08-30 02:30:28 +0100 |
---|---|---|
committer | Melanie | 2010-08-30 02:30:28 +0100 |
commit | 79bfa275da6b8be03678bfa284bd205410296b6a (patch) | |
tree | 1ce2f9f2da9bb0e3a8f5628d54f44e45bfc33044 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Remove CRLF endings (diff) | |
parent | Fix a casting operation to use ToString() (diff) | |
download | opensim-SC-79bfa275da6b8be03678bfa284bd205410296b6a.zip opensim-SC-79bfa275da6b8be03678bfa284bd205410296b6a.tar.gz opensim-SC-79bfa275da6b8be03678bfa284bd205410296b6a.tar.bz2 opensim-SC-79bfa275da6b8be03678bfa284bd205410296b6a.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 9e52b00..eefe8bb 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4756,20 +4756,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
4756 | if (ParentGroup == null || ParentGroup.IsDeleted) | 4756 | if (ParentGroup == null || ParentGroup.IsDeleted) |
4757 | return; | 4757 | return; |
4758 | 4758 | ||
4759 | Vector3 lPos = OffsetPosition; | 4759 | if (IsAttachment && ParentGroup.RootPart != this) |
4760 | 4760 | return; | |
4761 | if (IsAttachment) | ||
4762 | { | ||
4763 | if (ParentGroup.RootPart != this) | ||
4764 | return; | ||
4765 | |||
4766 | lPos = ParentGroup.RootPart.AttachedPos; | ||
4767 | } | ||
4768 | else | ||
4769 | { | ||
4770 | if (ParentGroup.RootPart == this) | ||
4771 | lPos = AbsolutePosition; | ||
4772 | } | ||
4773 | 4761 | ||
4774 | // Causes this thread to dig into the Client Thread Data. | 4762 | // Causes this thread to dig into the Client Thread Data. |
4775 | // Remember your locking here! | 4763 | // Remember your locking here! |