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();
|
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()
|
public string llGetOwner()
|
||||||
|
|
|
@ -2119,16 +2119,16 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
NotImplemented("llDetachFromAvatar");
|
NotImplemented("llDetachFromAvatar");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void llTakeCamera()
|
public void llTakeCamera(string avatar)
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
NotImplemented("llTakeCamera");
|
Deprecated("llTakeCamera");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void llReleaseCamera()
|
public void llReleaseCamera(string avatar)
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
NotImplemented("llReleaseCamera");
|
Deprecated("llReleaseCamera");
|
||||||
}
|
}
|
||||||
|
|
||||||
public string llGetOwner()
|
public string llGetOwner()
|
||||||
|
|
|
@ -211,10 +211,10 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
void llAttachToAvatar(int attachment);
|
void llAttachToAvatar(int attachment);
|
||||||
//wiki: llDetachFromAvatar()
|
//wiki: llDetachFromAvatar()
|
||||||
void llDetachFromAvatar();
|
void llDetachFromAvatar();
|
||||||
//wiki: (deprecated) llTakeCamera()
|
//wiki: (deprecated) llTakeCamera(key avatar)
|
||||||
void llTakeCamera();
|
void llTakeCamera(string avatar);
|
||||||
//wiki: (deprecated) llReleaseCamera()
|
//wiki: (deprecated) llReleaseCamera(key avatar)
|
||||||
void llReleaseCamera();
|
void llReleaseCamera(string avatar);
|
||||||
//wiki: key llGetOwner()
|
//wiki: key llGetOwner()
|
||||||
string llGetOwner();
|
string llGetOwner();
|
||||||
//wiki: llInstantMessage(key user, string message)
|
//wiki: llInstantMessage(key user, string message)
|
||||||
|
|
|
@ -1975,16 +1975,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
NotImplemented("llDetachFromAvatar");
|
NotImplemented("llDetachFromAvatar");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void llTakeCamera()
|
public void llTakeCamera(string avatar)
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
NotImplemented("llTakeCamera");
|
Deprecated("llTakeCamera");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void llReleaseCamera()
|
public void llReleaseCamera(string avatar)
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
NotImplemented("llReleaseCamera");
|
Deprecated("llReleaseCamera");
|
||||||
}
|
}
|
||||||
|
|
||||||
public string llGetOwner()
|
public string llGetOwner()
|
||||||
|
|
|
@ -209,10 +209,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||||
void llAttachToAvatar(int attachment);
|
void llAttachToAvatar(int attachment);
|
||||||
//wiki: llDetachFromAvatar()
|
//wiki: llDetachFromAvatar()
|
||||||
void llDetachFromAvatar();
|
void llDetachFromAvatar();
|
||||||
//wiki: (deprecated) llTakeCamera()
|
//wiki: (deprecated) llTakeCamera(key avatar)
|
||||||
void llTakeCamera();
|
void llTakeCamera(string avatar);
|
||||||
//wiki: (deprecated) llReleaseCamera()
|
//wiki: (deprecated) llReleaseCamera(key avatar)
|
||||||
void llReleaseCamera();
|
void llReleaseCamera(string avatar);
|
||||||
//wiki: key llGetOwner()
|
//wiki: key llGetOwner()
|
||||||
string llGetOwner();
|
string llGetOwner();
|
||||||
//wiki: llInstantMessage(key user, string message)
|
//wiki: llInstantMessage(key user, string message)
|
||||||
|
|
|
@ -640,14 +640,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||||
m_LSL_Functions.llDetachFromAvatar();
|
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()
|
public string llGetOwner()
|
||||||
|
|
Loading…
Reference in New Issue