diff options
author | Justin Clark-Casey (justincc) | 2013-11-23 00:53:09 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-11-23 00:53:09 +0000 |
commit | ff4e7de7769b7eaa1b4fd3917e59f362b708226a (patch) | |
tree | 4fce158779281bd64c1ba06439f9b264bb7aa037 /OpenSim/Region/ClientStack/Linden/UDP | |
parent | Added admin_authenticate_user command (diff) | |
download | opensim-SC_OLD-ff4e7de7769b7eaa1b4fd3917e59f362b708226a.zip opensim-SC_OLD-ff4e7de7769b7eaa1b4fd3917e59f362b708226a.tar.gz opensim-SC_OLD-ff4e7de7769b7eaa1b4fd3917e59f362b708226a.tar.bz2 opensim-SC_OLD-ff4e7de7769b7eaa1b4fd3917e59f362b708226a.tar.xz |
Fix issue where sitting on non-root linked prims would send camera to wrong position in third-person and mouselook
We now specify sits as offsets from the root prim, as the viewer expects.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 20bc59c..29751ff 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -5218,7 +5218,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5218 | update.NameValue = Utils.StringToBytes("FirstName STRING RW SV " + data.Firstname + "\nLastName STRING RW SV " + | 5218 | update.NameValue = Utils.StringToBytes("FirstName STRING RW SV " + data.Firstname + "\nLastName STRING RW SV " + |
5219 | data.Lastname + "\nTitle STRING RW SV " + data.Grouptitle); | 5219 | data.Lastname + "\nTitle STRING RW SV " + data.Grouptitle); |
5220 | update.ObjectData = objectData; | 5220 | update.ObjectData = objectData; |
5221 | update.ParentID = data.ParentID; | 5221 | |
5222 | SceneObjectPart parentPart = data.ParentPart; | ||
5223 | if (parentPart != null) | ||
5224 | update.ParentID = parentPart.ParentGroup.LocalId; | ||
5225 | else | ||
5226 | update.ParentID = 0; | ||
5227 | |||
5222 | update.PathCurve = 16; | 5228 | update.PathCurve = 16; |
5223 | update.PathScaleX = 100; | 5229 | update.PathScaleX = 100; |
5224 | update.PathScaleY = 100; | 5230 | update.PathScaleY = 100; |