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.
parent
42bcd76b36
commit
b842ab3927
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue