mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
* ObjectAddPacket now confined to ClientView,´using PrimitiveBaseShape instead - w00t!
This commit is contained in:
@@ -58,7 +58,7 @@ namespace OpenSim.Region.ClientStack
|
||||
public event ObjectSelect OnDeGrapObject;
|
||||
public event ObjectDuplicate OnObjectDuplicate;
|
||||
public event MoveObject OnGrapUpdate;
|
||||
public event GenericCall4 OnAddPrim;
|
||||
public event AddNewPrim OnAddPrim;
|
||||
public event UpdateShape OnUpdatePrimShape;
|
||||
public event ObjectSelect OnObjectSelect;
|
||||
public event GenericCall7 OnObjectDescription;
|
||||
|
||||
@@ -217,7 +217,10 @@ namespace OpenSim.Region.ClientStack
|
||||
case PacketType.ObjectAdd:
|
||||
if (OnAddPrim != null)
|
||||
{
|
||||
OnAddPrim(Pack, this);
|
||||
ObjectAddPacket packet = (ObjectAddPacket) Pack ;
|
||||
PrimitiveBaseShape primShape = PrimitiveBaseShape.FromAddPacket( packet );
|
||||
|
||||
OnAddPrim(this.AgentId, packet.ObjectData.RayEnd, primShape );
|
||||
}
|
||||
break;
|
||||
case PacketType.ObjectShape:
|
||||
|
||||
Reference in New Issue
Block a user