diff options
author | Melanie | 2012-01-05 08:15:33 +0000 |
---|---|---|
committer | Melanie | 2012-01-05 08:15:33 +0000 |
commit | 1ebc9d04aa33e18e22ee2f03465bc5950c3544ce (patch) | |
tree | 3e7e39255ad455b59434979d47db7da243ac3dd6 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-1ebc9d04aa33e18e22ee2f03465bc5950c3544ce.zip opensim-SC_OLD-1ebc9d04aa33e18e22ee2f03465bc5950c3544ce.tar.gz opensim-SC_OLD-1ebc9d04aa33e18e22ee2f03465bc5950c3544ce.tar.bz2 opensim-SC_OLD-1ebc9d04aa33e18e22ee2f03465bc5950c3544ce.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index fa8b1c0..c45cfb8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2015,13 +2015,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2015 | axPos *= parentRot; | 2015 | axPos *= parentRot; |
2016 | Vector3 translationOffsetPosition = axPos; | 2016 | Vector3 translationOffsetPosition = axPos; |
2017 | if(_parentID == 0) | 2017 | if(_parentID == 0) |
2018 | { | 2018 | return GroupPosition; |
2019 | return GroupPosition; | 2019 | else |
2020 | } | 2020 | return ParentGroup.AbsolutePosition + translationOffsetPosition; |
2021 | else | ||
2022 | { | ||
2023 | return ParentGroup.AbsolutePosition + translationOffsetPosition; //KF: Fix child prim position | ||
2024 | } | ||
2025 | } | 2021 | } |
2026 | 2022 | ||
2027 | /// <summary> | 2023 | /// <summary> |