mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
*Added SceneExternalChecks.cs that is used to manage checking the results of multiple functions that register with the class and return the result (usually true/false) based on those results. This is useful for module wanting to put their opinion in decisions such as 'can the user rez this object?'
This commit is contained in:
@@ -4047,6 +4047,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
//RayEnd: <61.97724, 141.995, 92.58341>
|
||||
//RayTargetID: 00000000-0000-0000-0000-000000000000
|
||||
|
||||
//Check to see if adding the prim is allowed; useful for any module wanting to restrict the
|
||||
//object from rezing initially
|
||||
|
||||
handlerAddPrim = OnAddPrim;
|
||||
if (handlerAddPrim != null)
|
||||
handlerAddPrim(AgentId, addPacket.ObjectData.RayEnd, addPacket.ObjectData.Rotation, shape, addPacket.ObjectData.BypassRaycast, addPacket.ObjectData.RayStart, addPacket.ObjectData.RayTargetID, addPacket.ObjectData.RayEndIsIntersection);
|
||||
|
||||
Reference in New Issue
Block a user