a few more changes on vectors etc

This commit is contained in:
UbitUmarov
2022-01-10 02:21:17 +00:00
parent 7d78f62d49
commit 9b33ef9c8c
17 changed files with 19 additions and 19 deletions

View File

@@ -1577,7 +1577,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
WriteVector(writer, "SitTargetPosition", sop.SitTargetPosition);
WriteVector(writer, "SitTargetPositionLL", sop.SitTargetPositionLL);
WriteQuaternion(writer, "SitTargetOrientationLL", sop.SitTargetOrientationLL);
if(sop.StandOffset != Vector3.Zero)
if(!sop.StandOffset.IsZero())
WriteVector(writer, "StandTarget", sop.StandOffset);
writer.WriteElementString("ParentID", sop.ParentID.ToString());
writer.WriteElementString("CreationDate", sop.CreationDate.ToString());