mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
fix a http SRestObjReq log message, thx Tampa (also a libomv update)
This commit is contained in:
@@ -1336,8 +1336,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
else if (WebUtil.DebugLevel >= 4)
|
||||
{
|
||||
m_log.DebugFormat("[LOGHTTP]: HTTP OUT {0} took {1}ms",
|
||||
reqnum, tickdiff);
|
||||
m_log.DebugFormat("[LOGHTTP]: HTTP OUT {0} took {1}ms", reqnum, tickdiff);
|
||||
}
|
||||
return deserial;
|
||||
}
|
||||
@@ -1347,7 +1346,7 @@ namespace OpenSim.Framework
|
||||
int reqnum = WebUtil.RequestNumber++;
|
||||
|
||||
if (WebUtil.DebugLevel >= 3)
|
||||
m_log.DebugFormat("[LOGHTTP]: HTTP OUT {0} SRestObjReq GET {2}", reqnum, requestUrl);
|
||||
m_log.DebugFormat("[LOGHTTP]: HTTP OUT {0} SRestObjReq GET {1}", reqnum, requestUrl);
|
||||
int tickstart = Util.EnvironmentTickCount();
|
||||
|
||||
TResponse deserial = default(TResponse);
|
||||
|
||||
@@ -287,14 +287,12 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
|
||||
/// <param name="retMethod">Method to call when the raycast is complete</param>
|
||||
public virtual void RaycastWorld(Vector3 position, Vector3 direction, float length, RaycastCallback retMethod)
|
||||
{
|
||||
if (retMethod != null)
|
||||
retMethod(false, Vector3.Zero, 0, 999999999999f, Vector3.Zero);
|
||||
retMethod?.Invoke(false, Vector3.Zero, 0, 999999999999f, Vector3.Zero);
|
||||
}
|
||||
|
||||
public virtual void RaycastWorld(Vector3 position, Vector3 direction, float length, int Count, RayCallback retMethod)
|
||||
{
|
||||
if (retMethod != null)
|
||||
retMethod(new List<ContactResult>());
|
||||
retMethod?.Invoke(new List<ContactResult>());
|
||||
}
|
||||
|
||||
public virtual List<ContactResult> RaycastWorld(Vector3 position, Vector3 direction, float length, int Count)
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user