diff options
author | nlin | 2009-04-10 06:39:52 +0000 |
---|---|---|
committer | nlin | 2009-04-10 06:39:52 +0000 |
commit | 8e6c20b27fdb95b9008614eb36678508407a4d19 (patch) | |
tree | 562e0363e5e551c8d3fee03736d319f9e8963c64 /OpenSim/Tests/Common | |
parent | * Updated BulletDotNET dll with the ContactFlags definition. (diff) | |
download | opensim-SC_OLD-8e6c20b27fdb95b9008614eb36678508407a4d19.zip opensim-SC_OLD-8e6c20b27fdb95b9008614eb36678508407a4d19.tar.gz opensim-SC_OLD-8e6c20b27fdb95b9008614eb36678508407a4d19.tar.bz2 opensim-SC_OLD-8e6c20b27fdb95b9008614eb36678508407a4d19.tar.xz |
Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Drag
Addresses Mantis #3381
The current implementation works as expected if the object has no rotation or
only rotation around the Z axis; you can spin the object left or right (around
the world Z axis).
It works a little unexpectedly if the object has a non-Z-axis rotation; in this
case the body is spun about its local Z axis, not the world Z-axis. (But SL
also behaves oddly with a spin on an arbitrarily rotated object.)
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index e82c26d..4647349 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -107,6 +107,9 @@ namespace OpenSim.Tests.Common.Mock | |||
107 | public event GrabObject OnGrabObject; | 107 | public event GrabObject OnGrabObject; |
108 | public event ObjectSelect OnDeGrabObject; | 108 | public event ObjectSelect OnDeGrabObject; |
109 | public event MoveObject OnGrabUpdate; | 109 | public event MoveObject OnGrabUpdate; |
110 | public event SpinStart OnSpinStart; | ||
111 | public event SpinObject OnSpinUpdate; | ||
112 | public event SpinStop OnSpinStop; | ||
110 | public event ViewerEffectEventHandler OnViewerEffect; | 113 | public event ViewerEffectEventHandler OnViewerEffect; |
111 | 114 | ||
112 | public event FetchInventory OnAgentDataUpdateRequest; | 115 | public event FetchInventory OnAgentDataUpdateRequest; |