diff options
author | Melanie | 2012-05-02 00:29:56 +0200 |
---|---|---|
committer | Melanie | 2012-05-02 00:29:56 +0200 |
commit | 98e9f225446ade7f1650db96fb4b8d763af1730e (patch) | |
tree | a063c28f59d0bb3c4c72e9f8a3a9f2aa97004b98 /OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |
parent | Fix saving of attachment positions (diff) | |
download | opensim-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.cs | 1 |
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 | ||