From: Kurt Taylor <krtaylor@us.ibm.com>
Patch to fix the passed parms and properly show llTakeCamera and llReleaseCamera as deprecated. Patch for both XEngine and DotNetEngine.0.6.0-stable
parent
ec7110f2cf
commit
55a4cf33a3
|
@ -760,14 +760,14 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
m_LSL_Functions.llDetachFromAvatar();
|
||||
}
|
||||
|
||||
public void llTakeCamera()
|
||||
public void llTakeCamera(string avatar)
|
||||
{
|
||||
m_LSL_Functions.llTakeCamera();
|
||||
m_LSL_Functions.llTakeCamera(avatar);
|
||||
}
|
||||
|
||||
public void llReleaseCamera()
|
||||
public void llReleaseCamera(string avatar)
|
||||
{
|
||||
m_LSL_Functions.llReleaseCamera();
|
||||
m_LSL_Functions.llReleaseCamera(avatar);
|
||||
}
|
||||
|
||||
public string llGetOwner()
|
||||
|
|
|
@ -2119,16 +2119,16 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
NotImplemented("llDetachFromAvatar");
|
||||
}
|
||||
|
||||
public void llTakeCamera()
|
||||
public void llTakeCamera(string avatar)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llTakeCamera");
|
||||
Deprecated("llTakeCamera");
|
||||
}
|
||||
|
||||
public void llReleaseCamera()
|
||||
public void llReleaseCamera(string avatar)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llReleaseCamera");
|
||||
Deprecated("llReleaseCamera");
|
||||
}
|
||||
|
||||
public string llGetOwner()
|
||||
|
|
|
@ -211,10 +211,10 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
void llAttachToAvatar(int attachment);
|
||||
//wiki: llDetachFromAvatar()
|
||||
void llDetachFromAvatar();
|
||||
//wiki: (deprecated) llTakeCamera()
|
||||
void llTakeCamera();
|
||||
//wiki: (deprecated) llReleaseCamera()
|
||||
void llReleaseCamera();
|
||||
//wiki: (deprecated) llTakeCamera(key avatar)
|
||||
void llTakeCamera(string avatar);
|
||||
//wiki: (deprecated) llReleaseCamera(key avatar)
|
||||
void llReleaseCamera(string avatar);
|
||||
//wiki: key llGetOwner()
|
||||
string llGetOwner();
|
||||
//wiki: llInstantMessage(key user, string message)
|
||||
|
|
|
@ -1975,16 +1975,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
NotImplemented("llDetachFromAvatar");
|
||||
}
|
||||
|
||||
public void llTakeCamera()
|
||||
public void llTakeCamera(string avatar)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llTakeCamera");
|
||||
Deprecated("llTakeCamera");
|
||||
}
|
||||
|
||||
public void llReleaseCamera()
|
||||
public void llReleaseCamera(string avatar)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llReleaseCamera");
|
||||
Deprecated("llReleaseCamera");
|
||||
}
|
||||
|
||||
public string llGetOwner()
|
||||
|
|
|
@ -209,10 +209,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
|||
void llAttachToAvatar(int attachment);
|
||||
//wiki: llDetachFromAvatar()
|
||||
void llDetachFromAvatar();
|
||||
//wiki: (deprecated) llTakeCamera()
|
||||
void llTakeCamera();
|
||||
//wiki: (deprecated) llReleaseCamera()
|
||||
void llReleaseCamera();
|
||||
//wiki: (deprecated) llTakeCamera(key avatar)
|
||||
void llTakeCamera(string avatar);
|
||||
//wiki: (deprecated) llReleaseCamera(key avatar)
|
||||
void llReleaseCamera(string avatar);
|
||||
//wiki: key llGetOwner()
|
||||
string llGetOwner();
|
||||
//wiki: llInstantMessage(key user, string message)
|
||||
|
|
|
@ -640,14 +640,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
|||
m_LSL_Functions.llDetachFromAvatar();
|
||||
}
|
||||
|
||||
public void llTakeCamera()
|
||||
public void llTakeCamera(string avatar)
|
||||
{
|
||||
m_LSL_Functions.llTakeCamera();
|
||||
m_LSL_Functions.llTakeCamera(avatar);
|
||||
}
|
||||
|
||||
public void llReleaseCamera()
|
||||
public void llReleaseCamera(string avatar)
|
||||
{
|
||||
m_LSL_Functions.llReleaseCamera();
|
||||
m_LSL_Functions.llReleaseCamera(avatar);
|
||||
}
|
||||
|
||||
public string llGetOwner()
|
||||
|
|
Loading…
Reference in New Issue