mirror of
https://github.com/opensim/opensim.git
synced 2026-07-13 19:14:51 +08:00
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.
This commit is contained in:
@@ -2079,7 +2079,11 @@ namespace OpenSim.Region.ClientStack
|
||||
SetDefaultPrimPacketValues(objupdate);
|
||||
objupdate.UpdateFlags = flags;
|
||||
SetPrimPacketShapeData(objupdate, primShape);
|
||||
|
||||
if ((primShape.PCode == 111) || (primShape.PCode == 255))
|
||||
{
|
||||
objupdate.Data = new byte[1];
|
||||
objupdate.Data[0] = primShape.State;
|
||||
}
|
||||
return objupdate;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user