mirror of
https://github.com/opensim/opensim.git
synced 2026-05-16 03:36:04 +08:00
Sculpted Prims should now work.
This commit is contained in:
@@ -218,8 +218,6 @@ namespace OpenSim.Region.ClientStack
|
||||
if (OnAddPrim != null)
|
||||
{
|
||||
ObjectAddPacket addPacket = (ObjectAddPacket) Pack ;
|
||||
Console.WriteLine(addPacket.ToString());
|
||||
|
||||
PrimitiveBaseShape shape = new PrimitiveBaseShape();
|
||||
|
||||
shape.PCode = addPacket.ObjectData.PCode;
|
||||
@@ -258,6 +256,13 @@ namespace OpenSim.Region.ClientStack
|
||||
}
|
||||
}
|
||||
break;
|
||||
case PacketType.ObjectExtraParams:
|
||||
ObjectExtraParamsPacket extraPar = (ObjectExtraParamsPacket)Pack;
|
||||
if (OnUpdateExtraParams != null)
|
||||
{
|
||||
OnUpdateExtraParams(extraPar.ObjectData[0].ObjectLocalID, extraPar.ObjectData[0].ParamType, extraPar.ObjectData[0].ParamInUse, extraPar.ObjectData[0].ParamData);
|
||||
}
|
||||
break;
|
||||
case PacketType.ObjectDuplicate:
|
||||
ObjectDuplicatePacket dupe = (ObjectDuplicatePacket)Pack;
|
||||
for (int i = 0; i < dupe.ObjectData.Length; i++)
|
||||
|
||||
Reference in New Issue
Block a user