diff options
Sculpted Prims should now work.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 338471e..c248b29 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -218,8 +218,6 @@ namespace OpenSim.Region.ClientStack | |||
218 | if (OnAddPrim != null) | 218 | if (OnAddPrim != null) |
219 | { | 219 | { |
220 | ObjectAddPacket addPacket = (ObjectAddPacket) Pack ; | 220 | ObjectAddPacket addPacket = (ObjectAddPacket) Pack ; |
221 | Console.WriteLine(addPacket.ToString()); | ||
222 | |||
223 | PrimitiveBaseShape shape = new PrimitiveBaseShape(); | 221 | PrimitiveBaseShape shape = new PrimitiveBaseShape(); |
224 | 222 | ||
225 | shape.PCode = addPacket.ObjectData.PCode; | 223 | shape.PCode = addPacket.ObjectData.PCode; |
@@ -258,6 +256,13 @@ namespace OpenSim.Region.ClientStack | |||
258 | } | 256 | } |
259 | } | 257 | } |
260 | break; | 258 | break; |
259 | case PacketType.ObjectExtraParams: | ||
260 | ObjectExtraParamsPacket extraPar = (ObjectExtraParamsPacket)Pack; | ||
261 | if (OnUpdateExtraParams != null) | ||
262 | { | ||
263 | OnUpdateExtraParams(extraPar.ObjectData[0].ObjectLocalID, extraPar.ObjectData[0].ParamType, extraPar.ObjectData[0].ParamInUse, extraPar.ObjectData[0].ParamData); | ||
264 | } | ||
265 | break; | ||
261 | case PacketType.ObjectDuplicate: | 266 | case PacketType.ObjectDuplicate: |
262 | ObjectDuplicatePacket dupe = (ObjectDuplicatePacket)Pack; | 267 | ObjectDuplicatePacket dupe = (ObjectDuplicatePacket)Pack; |
263 | for (int i = 0; i < dupe.ObjectData.Length; i++) | 268 | for (int i = 0; i < dupe.ObjectData.Length; i++) |