Temporary try catch around calculateSpaceForGeom() , to see if it gets past mantis issue #435 (for now)
parent
64a1a1f059
commit
5099be8072
|
@ -872,11 +872,18 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
/// <param name="pos"></param>
|
/// <param name="pos"></param>
|
||||||
/// <returns>a pointer to the space. This could be a new space or reused space.</returns>
|
/// <returns>a pointer to the space. This could be a new space or reused space.</returns>
|
||||||
public IntPtr calculateSpaceForGeom(PhysicsVector pos)
|
public IntPtr calculateSpaceForGeom(PhysicsVector pos)
|
||||||
|
{
|
||||||
|
IntPtr locationbasedspace =IntPtr.Zero;
|
||||||
|
try
|
||||||
{
|
{
|
||||||
int[] xyspace = calculateSpaceArrayItemFromPos(pos);
|
int[] xyspace = calculateSpaceArrayItemFromPos(pos);
|
||||||
//MainLog.Instance.Verbose("Physics", "Attempting to use arrayItem: " + xyspace[0].ToString() + "," + xyspace[1].ToString());
|
//MainLog.Instance.Verbose("Physics", "Attempting to use arrayItem: " + xyspace[0].ToString() + "," + xyspace[1].ToString());
|
||||||
IntPtr locationbasedspace = staticPrimspace[xyspace[0], xyspace[1]];
|
locationbasedspace = staticPrimspace[xyspace[0], xyspace[1]];
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
//locationbasedspace = space;
|
//locationbasedspace = space;
|
||||||
return locationbasedspace;
|
return locationbasedspace;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue