diff options
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/LindenUDP/LLClientView.cs')
-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; |