*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:
mingchen
2008-05-07 17:33:57 +00:00
parent 5afe6c3ed9
commit 6551f17966
6 changed files with 37 additions and 13 deletions

View File

@@ -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);