mirror of
https://github.com/opensim/opensim.git
synced 2026-05-27 20:35:59 +08:00
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.
This commit is contained in:
@@ -5218,7 +5218,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
update.NameValue = Utils.StringToBytes("FirstName STRING RW SV " + data.Firstname + "\nLastName STRING RW SV " +
|
||||
data.Lastname + "\nTitle STRING RW SV " + data.Grouptitle);
|
||||
update.ObjectData = objectData;
|
||||
update.ParentID = data.ParentID;
|
||||
|
||||
SceneObjectPart parentPart = data.ParentPart;
|
||||
if (parentPart != null)
|
||||
update.ParentID = parentPart.ParentGroup.LocalId;
|
||||
else
|
||||
update.ParentID = 0;
|
||||
|
||||
update.PathCurve = 16;
|
||||
update.PathScaleX = 100;
|
||||
update.PathScaleY = 100;
|
||||
|
||||
Reference in New Issue
Block a user