diff options
fixed the bug where changing the rotation of a selection of prims in a linkset, made each of those prims rotate around its own centre rather than around the geometric centre of the selection like they should do (and like the client expects).
This involved adding a new OnUpdatePrimSingleRotationPosition event to IClientAPI so that we can get the changed position from the client.
Btw adding new events to IClientAPI is really tedious where you have to copy the change across to at least 5 or 6 other files.
[Note this doesn't fix the bug where any rotation changes to the root prim (but not the whole linkset) cause rotation errors on the child prims.]
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 5e33729..ed38046 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | |||
@@ -117,6 +117,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
117 | public event UpdateVector OnUpdatePrimGroupPosition; | 117 | public event UpdateVector OnUpdatePrimGroupPosition; |
118 | public event UpdateVector OnUpdatePrimSinglePosition; | 118 | public event UpdateVector OnUpdatePrimSinglePosition; |
119 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; | 119 | public event UpdatePrimRotation OnUpdatePrimGroupRotation; |
120 | public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition; | ||
120 | public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation; | 121 | public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation; |
121 | public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation; | 122 | public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation; |
122 | public event UpdateVector OnUpdatePrimScale; | 123 | public event UpdateVector OnUpdatePrimScale; |