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/Region/ClientStack | |
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/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 24d04de..239c4b3 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -172,7 +172,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
172 | private MoveObject handlerGrabUpdate; //OnGrabUpdate; | 172 | private MoveObject handlerGrabUpdate; //OnGrabUpdate; |
173 | private ObjectSelect handlerDeGrabObject; //OnDeGrabObject; | 173 | private ObjectSelect handlerDeGrabObject; //OnDeGrabObject; |
174 | private SpinStart handlerSpinStart; //OnSpinStart; | 174 | private SpinStart handlerSpinStart; //OnSpinStart; |
175 | private SpinUpdate handlerSpinUpdate; //OnSpinUpdate; | 175 | private SpinObject handlerSpinUpdate; //OnSpinUpdate; |
176 | private SpinStop handlerSpinStop; //OnSpinStop; | 176 | private SpinStop handlerSpinStop; //OnSpinStop; |
177 | private GenericCall7 handlerObjectDescription; | 177 | private GenericCall7 handlerObjectDescription; |
178 | private GenericCall7 handlerObjectName; | 178 | private GenericCall7 handlerObjectName; |
@@ -939,7 +939,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
939 | public event ObjectDuplicate OnObjectDuplicate; | 939 | public event ObjectDuplicate OnObjectDuplicate; |
940 | public event ObjectDuplicateOnRay OnObjectDuplicateOnRay; | 940 | public event ObjectDuplicateOnRay OnObjectDuplicateOnRay; |
941 | public event MoveObject OnGrabUpdate; | 941 | public event MoveObject OnGrabUpdate; |
942 | public event SpinUpdate OnSpinUpdate; | 942 | public event SpinObject OnSpinUpdate; |
943 | public event AddNewPrim OnAddPrim; | 943 | public event AddNewPrim OnAddPrim; |
944 | public event RequestGodlikePowers OnRequestGodlikePowers; | 944 | public event RequestGodlikePowers OnRequestGodlikePowers; |
945 | public event GodKickUser OnGodKickUser; | 945 | public event GodKickUser OnGodKickUser; |