diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index d53201f..15540ea 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -2126,7 +2126,7 @@ namespace OpenSim.Region.ClientStack | |||
2126 | SetDefaultPrimPacketValues(objupdate); | 2126 | SetDefaultPrimPacketValues(objupdate); |
2127 | objupdate.UpdateFlags = flags; | 2127 | objupdate.UpdateFlags = flags; |
2128 | SetPrimPacketShapeData(objupdate, primShape); | 2128 | SetPrimPacketShapeData(objupdate, primShape); |
2129 | // if ((primShape.PCode == 111) || (primShape.PCode == 255)) | 2129 | |
2130 | if ((primShape.PCode == (byte)PCode.NewTree) || (primShape.PCode == (byte)PCode.Tree) || (primShape.PCode == (byte)PCode.Grass)) | 2130 | if ((primShape.PCode == (byte)PCode.NewTree) || (primShape.PCode == (byte)PCode.Tree) || (primShape.PCode == (byte)PCode.Grass)) |
2131 | { | 2131 | { |
2132 | objupdate.Data = new byte[1]; | 2132 | objupdate.Data = new byte[1]; |
@@ -2206,7 +2206,7 @@ namespace OpenSim.Region.ClientStack | |||
2206 | objdata.ParentID = 0; | 2206 | objdata.ParentID = 0; |
2207 | objdata.OwnerID = LLUUID.Zero; | 2207 | objdata.OwnerID = LLUUID.Zero; |
2208 | objdata.Scale = new LLVector3(1, 1, 1); | 2208 | objdata.Scale = new LLVector3(1, 1, 1); |
2209 | objdata.PCode = 47; | 2209 | objdata.PCode = (byte)PCode.Avatar; |
2210 | if (textureEntry != null) | 2210 | if (textureEntry != null) |
2211 | { | 2211 | { |
2212 | objdata.TextureEntry = textureEntry; | 2212 | objdata.TextureEntry = textureEntry; |