fix CM_api compile error
parent
db6c4a89a8
commit
5aa7a4fa52
|
@ -63,7 +63,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
internal TaskInventoryItem m_item;
|
internal TaskInventoryItem m_item;
|
||||||
internal bool m_CMFunctionsEnabled = false;
|
internal bool m_CMFunctionsEnabled = false;
|
||||||
|
|
||||||
public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, TaskInventoryItem item, WaitHandle coopSleepHandle)
|
public void Initialize(IScriptEngine ScriptEngine, SceneObjectPart host, TaskInventoryItem item)
|
||||||
{
|
{
|
||||||
m_ScriptEngine = ScriptEngine;
|
m_ScriptEngine = ScriptEngine;
|
||||||
m_host = host;
|
m_host = host;
|
||||||
|
@ -80,8 +80,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
if (lease.CurrentState == LeaseState.Initial)
|
if (lease.CurrentState == LeaseState.Initial)
|
||||||
{
|
{
|
||||||
lease.InitialLeaseTime = TimeSpan.FromMinutes(0);
|
lease.InitialLeaseTime = TimeSpan.FromMinutes(0);
|
||||||
// lease.RenewOnCallTime = TimeSpan.FromSeconds(10.0);
|
// lease.RenewOnCallTime = TimeSpan.FromSeconds(10.0);
|
||||||
// lease.SponsorshipTimeout = TimeSpan.FromMinutes(1.0);
|
// lease.SponsorshipTimeout = TimeSpan.FromMinutes(1.0);
|
||||||
}
|
}
|
||||||
return lease;
|
return lease;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue