mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Preserve attachment rotation on objects rezzed via a script. Makes toasters
work right, finally.
This commit is contained in:
@@ -812,6 +812,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
group.RootPart.AttachPoint = group.RootPart.Shape.State;
|
||||
group.RootPart.AttachOffset = group.AbsolutePosition;
|
||||
group.RootPart.AttachRotation = group.GroupRotation;
|
||||
|
||||
group.ResetIDs();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user