aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authorMelanie2012-05-02 00:29:56 +0200
committerMelanie2012-05-02 00:29:56 +0200
commit98e9f225446ade7f1650db96fb4b8d763af1730e (patch)
treea063c28f59d0bb3c4c72e9f8a3a9f2aa97004b98 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
parentFix saving of attachment positions (diff)
downloadopensim-SC-98e9f225446ade7f1650db96fb4b8d763af1730e.zip
opensim-SC-98e9f225446ade7f1650db96fb4b8d763af1730e.tar.gz
opensim-SC-98e9f225446ade7f1650db96fb4b8d763af1730e.tar.bz2
opensim-SC-98e9f225446ade7f1650db96fb4b8d763af1730e.tar.xz
Preserve attachment rotation on objects rezzed via a script. Makes toasters
work right, finally.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index a2649ee..959046a 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -812,6 +812,7 @@ namespace OpenSim.Region.Framework.Scenes
812 812
813 group.RootPart.AttachPoint = group.RootPart.Shape.State; 813 group.RootPart.AttachPoint = group.RootPart.Shape.State;
814 group.RootPart.AttachOffset = group.AbsolutePosition; 814 group.RootPart.AttachOffset = group.AbsolutePosition;
815 group.RootPart.AttachRotation = group.GroupRotation;
815 816
816 group.ResetIDs(); 817 group.ResetIDs();
817 818