aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client
diff options
context:
space:
mode:
authorMW2009-07-17 14:58:54 +0000
committerMW2009-07-17 14:58:54 +0000
commitacea31518b00b02e2ba8b08106a76de0fbef29ab (patch)
tree78a4cb7eace911f11077045c1f0fb1266392c9dc /OpenSim/Client
parent* Change the order of Update so Physics processes a frame before the scene ma... (diff)
downloadopensim-SC_OLD-acea31518b00b02e2ba8b08106a76de0fbef29ab.zip
opensim-SC_OLD-acea31518b00b02e2ba8b08106a76de0fbef29ab.tar.gz
opensim-SC_OLD-acea31518b00b02e2ba8b08106a76de0fbef29ab.tar.bz2
opensim-SC_OLD-acea31518b00b02e2ba8b08106a76de0fbef29ab.tar.xz
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 'OpenSim/Client')
-rw-r--r--OpenSim/Client/MXP/ClientStack/MXPClientView.cs1
-rw-r--r--OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs1
2 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
index df1b4a3..d8980c1 100644
--- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
+++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
@@ -624,6 +624,7 @@ namespace OpenSim.Client.MXP.ClientStack
624 public event UpdateVector OnUpdatePrimGroupPosition; 624 public event UpdateVector OnUpdatePrimGroupPosition;
625 public event UpdateVector OnUpdatePrimSinglePosition; 625 public event UpdateVector OnUpdatePrimSinglePosition;
626 public event UpdatePrimRotation OnUpdatePrimGroupRotation; 626 public event UpdatePrimRotation OnUpdatePrimGroupRotation;
627 public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition;
627 public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation; 628 public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation;
628 public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation; 629 public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation;
629 public event UpdateVector OnUpdatePrimScale; 630 public event UpdateVector OnUpdatePrimScale;
diff --git a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
index c0c7625..4570395 100644
--- a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
+++ b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
@@ -272,6 +272,7 @@ namespace OpenSim.Client.VWoHTTP.ClientStack
272 public event UpdateVector OnUpdatePrimSinglePosition = delegate { }; 272 public event UpdateVector OnUpdatePrimSinglePosition = delegate { };
273 public event UpdatePrimRotation OnUpdatePrimGroupRotation = delegate { }; 273 public event UpdatePrimRotation OnUpdatePrimGroupRotation = delegate { };
274 public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation = delegate { }; 274 public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation = delegate { };
275 public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition = delegate { };
275 public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation = delegate { }; 276 public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation = delegate { };
276 public event UpdateVector OnUpdatePrimScale = delegate { }; 277 public event UpdateVector OnUpdatePrimScale = delegate { };
277 public event UpdateVector OnUpdatePrimGroupScale = delegate { }; 278 public event UpdateVector OnUpdatePrimGroupScale = delegate { };