fixed it so that the different types of trees now work (show up in the clients), problem is that we don't seem to be persisting PrimitiveBaseShape.State in the datastore, so after restart of server, they all turn back into pine trees.

afrisby-rexmerge
MW 2008-02-22 18:27:08 +00:00
parent 42bcd76b36
commit b842ab3927
1 changed files with 5 additions and 1 deletions

View File

@ -2079,7 +2079,11 @@ namespace OpenSim.Region.ClientStack
SetDefaultPrimPacketValues(objupdate); SetDefaultPrimPacketValues(objupdate);
objupdate.UpdateFlags = flags; objupdate.UpdateFlags = flags;
SetPrimPacketShapeData(objupdate, primShape); SetPrimPacketShapeData(objupdate, primShape);
if ((primShape.PCode == 111) || (primShape.PCode == 255))
{
objupdate.Data = new byte[1];
objupdate.Data[0] = primShape.State;
}
return objupdate; return objupdate;
} }