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/Client | |
parent | * Updated BulletDotNET dll with the ContactFlags definition. (diff) | |
download | opensim-SC-8e6c20b27fdb95b9008614eb36678508407a4d19.zip opensim-SC-8e6c20b27fdb95b9008614eb36678508407a4d19.tar.gz opensim-SC-8e6c20b27fdb95b9008614eb36678508407a4d19.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index c29e895..687c02a 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |||
@@ -607,6 +607,9 @@ namespace OpenSim.Client.MXP.ClientStack | |||
607 | public event GrabObject OnGrabObject; | 607 | public event GrabObject OnGrabObject; |
608 | public event ObjectSelect OnDeGrabObject; | 608 | public event ObjectSelect OnDeGrabObject; |
609 | public event MoveObject OnGrabUpdate; | 609 | public event MoveObject OnGrabUpdate; |
610 | public event SpinStart OnSpinStart; | ||
611 | public event SpinObject OnSpinUpdate; | ||
612 | public event SpinStop OnSpinStop; | ||
610 | public event UpdateShape OnUpdatePrimShape; | 613 | public event UpdateShape OnUpdatePrimShape; |
611 | public event ObjectExtraParams OnUpdateExtraParams; | 614 | public event ObjectExtraParams OnUpdateExtraParams; |
612 | public event ObjectSelect OnObjectSelect; | 615 | public event ObjectSelect OnObjectSelect; |