* Found the land bug, yay
parent
f3190810d3
commit
740ce20d9d
|
@ -43,6 +43,7 @@ Patches
|
|||
* alex_carnell
|
||||
* webmage (International Business Machines Corp.)
|
||||
* jimbo2120 (International Business Machines Corp.)
|
||||
* brianw/Sir_Ahzz
|
||||
|
||||
|
||||
LSL Devs
|
||||
|
|
|
@ -576,7 +576,7 @@ namespace OpenSim.Region.Environment.LandManagement
|
|||
Land currentParcel = null;
|
||||
try
|
||||
{
|
||||
getLandObject(start_x + x, start_y + y);
|
||||
currentParcel = getLandObject(start_x + x, start_y + y);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
|
|
@ -136,11 +136,15 @@ namespace OpenSim.Region.Physics.Manager
|
|||
// a race condition if the last subscriber unsubscribes
|
||||
// immediately after the null check and before the event is raised.
|
||||
RequestTerseUpdate handler = OnRequestTerseUpdate;
|
||||
|
||||
if (handler != null)
|
||||
{
|
||||
lock (handler)
|
||||
{
|
||||
handler();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void RaiseOutOfBounds(PhysicsVector pos)
|
||||
{
|
||||
|
@ -149,20 +153,28 @@ namespace OpenSim.Region.Physics.Manager
|
|||
// immediately after the null check and before the event is raised.
|
||||
OutOfBounds handler = OnOutOfBounds;
|
||||
if (handler != null)
|
||||
{
|
||||
lock (handler)
|
||||
{
|
||||
handler(pos);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void SendCollisionUpdate(EventArgs e)
|
||||
{
|
||||
CollisionUpdate handler = OnCollisionUpdate;
|
||||
|
||||
if (handler != null)
|
||||
{
|
||||
lock (handler)
|
||||
{
|
||||
handler(e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public abstract PhysicsVector Position { get; set; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue