From 7347f146c6f402351917a04e76abc353c03503b6 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 5 Jun 2007 11:59:38 +0000 Subject: * Small bugfix: Avatar rezzing from grid mode should no longer place you underground if you have terrain of reasonable height. --- OpenSim/OpenSim.RegionServer/world/Primitive.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/OpenSim.RegionServer/world') diff --git a/OpenSim/OpenSim.RegionServer/world/Primitive.cs b/OpenSim/OpenSim.RegionServer/world/Primitive.cs index e048a9e..ed24504 100644 --- a/OpenSim/OpenSim.RegionServer/world/Primitive.cs +++ b/OpenSim/OpenSim.RegionServer/world/Primitive.cs @@ -378,6 +378,7 @@ namespace OpenSim.world PData.PathTaperY = objupdate.ObjectData[0].PathTaperY = addPacket.ObjectData.PathTaperY; PData.PathTwist = objupdate.ObjectData[0].PathTwist = addPacket.ObjectData.PathTwist; PData.PathTwistBegin = objupdate.ObjectData[0].PathTwistBegin = addPacket.ObjectData.PathTwistBegin; + objupdate.ObjectData[0].ID = (uint)(localID); objupdate.ObjectData[0].FullID = new LLUUID("edba7151-5857-acc5-b30b-f01efef" + (localID - 702000).ToString("00000")); objupdate.ObjectData[0].ObjectData = new byte[60]; -- cgit v1.1