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
Dr Scofield 2008-06-28 07:30:49 +00:00
parent ec7110f2cf
commit 55a4cf33a3
6 changed files with 24 additions and 24 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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)

View File

@ -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()

View File

@ -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)

View File

@ -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()